Repository navigation
Version Packages - #202
Merged
Merged
Version Packages#202
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
PR author is in the excluded authors list. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@basementstudio/shader-lab-mcp@0.2.0
Minor Changes
update_layeraccepts amask: linear, radial, ellipse, rectangle or brush shapes in centered shorter-edge composition units, scoped to the effect or the content, with invert, rotation and feather. Passnullto reset it.@basementstudio/shader-lab@3.1.0
Minor Changes
gradientvalue type blend between two ramps: stops glide when both ramps have the same number of stops, and when the counts differ the shorter ramp gains stops that leave its look unchanged, so the in-between frames stay a smooth crossfade. Each keyframe keeps its easing. Scenes without ramp tracks render exactly as before.updateTimelineDurationhook. Saved gradients keep their exact look: they load in Advanced mode with their Original motion.preset: "custom"and list up to ten images or SVGs inpatternAssets, ordered from the lightest tones to the darkest. Each motif takes an equal band of tones, and Invert reverses the order. The newcolorMode: "original"keeps each motif's own colors; the other color modes use the motif's alpha as its shape.shape: "svg"and give the layer an imageassetpointing at the file. The SVG becomes a signed distance field, so its edges stay sharp at any size and Softness and Outline work as on the built-in shapes.svgColorMode: "original"keeps the file's colors, andsvgPalette(a JSON map from a file color to a new color) recolors them;"single"fills the shape withcolor.threepeer dependency is now^0.185.0(was^0.183.0). Projects still on three 0.183 need to update three together with this release.Patch Changes
depthAssetin the runtime config) and gain Depth controls: invert, range, focus plane, orbit/sway/nod/dolly camera motion with amount and speed, a keyframable camera offset, stretched or transparent edges, march quality and a depth preview. The pass marches depth layers from near to far with binary refinement so nearer content covers what is behind it. Layers without a depth map keep the previous shader. An Estimate button generates the depth map in the browser with Depth Anything V2 Small (transformers.js in a Web Worker, WebGPU with a WASM fallback) and attaches it as a local asset. The image pass publishes its displaced depth as scene depth for the layers above: ASCII, Halftone, Pattern and Gradient Map gaininput: "luminance" | "depth", and layer masks gain adepthshape with a near/far range. Mask center, size, rotation and feather are keyframable and audio-linkable asmask.*tracks, evaluated in the editor and the runtime.params.transparentBounds: true. Existing runtime configs without the setting retain black borders.