unstale

npm / @paper-design/shaders

@paper-design/shaders

What changed in @paper-design/shaders 0.0, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-14.

20 breaking18 new APIs and options12 performance22 behavior and defaults25 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.3.1 on npm

@paper-design/shaders 0.097 changes

Breaking changes 20

  • The old colorFront parameter is replaced by the three-color scheme using colorShadow, colorPaper, and colorBack.

    0.0.81release notes

  • The Paper Texture color scheme now uses colorShadow, colorPaper, and colorBack instead of colorFront and colorBack.

    0.0.81release notes

  • The contrast parameter is removed; a similar effect can be achieved with the new color scheme and blending.

    0.0.81release notes

  • The former folds pattern is now named crumples, with foldCount renamed crumpleCount.

    0.0.81release notes

  • The fade parameter is removed; a similar effect can be achieved with angle.

    0.0.81release notes

  • The former crumples pattern is now named wrinkles, with crumpleSize renamed wrinkleSize.

    0.0.81release notes

  • The Lens Distortion noiseOffset parameter is now normalized and accepts values from 0 to 1.

    0.0.80release notes

  • The animation loop pauses while a shader is out of the viewport.

    0.0.78release notes

  • The default color changed from black to gray.

    0.0.78release notes

  • Flood parameters now affect transparent areas.

    0.0.71release notes

  • The default scale parameter is now 1.

    0.0.69release notes

  • Mesh Gradient, Static Mesh Gradient, and Static Radial Gradient use monochrome grainOverlay noise.

    0.0.66release notes

  • Renamed the boolean straight prop to grid, which accepts 'hex' or 'square' and defaults to 'hex'.

    0.0.65release notes

  • The blur parameter now affects only the inside of the image.

    0.0.63release notes

  • The transparency of colorHighlight now multiplies together with the highlights value.

    0.0.63release notes

  • Blur now also naturally softens the edges of the image.

    0.0.62release notes

  • Distortion is no longer restricted to the image boundaries.

    0.0.62release notes

  • The Fluted Glass parameter edges was renamed to stretch.

    0.0.62release notes

  • The angle now goes clockwise instead of counterclockwise.

    0.0.61release notesrelease notes

  • The angle now goes clockwise instead of counterclockwise.

    0.0.61release notes

New APIs and options 18

  • Adds control over the direction the surface is lit from.

    0.0.81release notes

  • Adds an amount of image-to-paper blending.

    0.0.81release notes

  • Adds an option to cut the paper sheet to the image frame.

    0.0.81release notes

  • Adds control over how much the image bends with the paper surface.

    0.0.81release notes

  • A new pattern adds straight vertical and horizontal fold lines, controlled by foldSizeX, foldSizeY, foldOffsetX, and foldOffsetY.

    0.0.81release notes

  • Adds an option to line the grain up into laid-paper stripes.

    0.0.81release notes

  • Adds control over the scale of the roughness grain.

    0.0.81release notes

  • A new Lens Distortion shader is available.

    0.0.79release notes

  • Every package now ships a NOTICE file.

    0.0.77release notes

  • Gem Smoke adds a set of generic shapes.

    0.0.74release notes

  • Adds the Gem Smoke shader.

    0.0.73release notes

  • Image Dithering adds an inverted option.

    0.0.71release notes

  • A new shader is available.

    0.0.69release notes

  • Adds the Halftone Dots shader.

    0.0.64release notes

  • Added an edges parameter to control distortion and blur around image edges.

    0.0.63release notes

  • A new Fluted Glass parameter is available.

    0.0.62release notes

  • Liquid Metal adds an angle parameter.

    0.0.58release notes

  • The reworked Liquid Metal version supports custom images.

    0.0.58release notes

Performance 12

  • Animated shaders no longer render twice per frame.

    0.0.82release notes

  • WebGL context attributes were cleaned up as part of performance optimizations in ShaderMount.

    0.0.82release notes

  • Performance improves for all shaders with a grain layer.

    0.0.81release notes

  • Rebuilt to assure better performance.

    0.0.81release notes

  • Minor performance improvements were made to DotOrbit.

    0.0.69release notes

  • Minor performance improvements were made to FlutedGlass.

    0.0.69release notes

  • Minor performance improvements were made to GrainGradient.

    0.0.69release notes

  • Minor performance improvements were made to HalftoneDots.

    0.0.69release notes

  • Minor performance improvements were made to PerlinNoise.

    0.0.69release notes

  • Minor performance improvements were made to SmokeRing.

    0.0.69release notes

  • Several performance improvements were made.

    0.0.68release notes

  • Liquid Metal rendering speed increased 3x.

    0.0.58release notes

Behavior and default changes 22

  • The alpha value of colorHighlight is now applied to highlights in Water.

    0.0.81release notes

  • fiberSize has a new mapping.

    0.0.81release notes

  • wrinkleSize has a new mapping.

    0.0.81release notes

  • React components re-render when a new prop is added.

    0.0.78release notes

  • Presets were adjusted; the notes do not specify which presets or how they changed.

    0.0.76release notes

  • The Gem Smoke preset was adjusted.

    0.0.75release notes

  • The Liquid Metal preset was adjusted.

    0.0.75release notes

  • Both packages now support isolated documents, including iframes and PiP windows.

    0.0.72release notes

  • Images smaller than 1024x1024 are upscaled before final rasterization, improving the quality of small SVG image inputs.

    0.0.71release notes

  • Presets were tweaked for Halftone CMYK.

    0.0.70release notes

  • The mixing parameter now works via a smoother curve.

    0.0.69release notes

  • The mixing parameter now works via a smoother curve.

    0.0.69release notes

  • The default cell size was restored after the allowed range was extended.

    0.0.68release notes

  • Extended the cell size range to allow smaller dots.

    0.0.67release notes

  • The contrast parameter curve was adjusted.

    0.0.65release notes

  • The size parameter curve was adjusted.

    0.0.65release notes

  • Shadow contours and blending were improved to work more versatilely with different colors.

    0.0.63release notes

  • The height prop accepts numeric strings, such as "400".

    0.0.62release notes

  • The width prop accepts numeric strings, such as "600".

    0.0.62release notes

  • The Liquid Metal edge contour received minor adjustments, changing its rendered appearance.

    0.0.59release notes

  • Liquid Metal repetition increased 2x.

    0.0.58release notes

  • Liquid Metal has a new default look and presets.

    0.0.58release notes

Fixes and other changes 25

  • The WebGL context is released when a shader is disposed.

    0.0.82release notes

  • Image uniforms now wait for the image to decode before being passed to the shader.

    0.0.78release notes

  • Malformed hex color strings now fall back to a default color instead of resolving to NaN.

    0.0.78release notes

  • The project license changed to Apache License 2.0, which may affect whether and how developers use the package.

    0.0.77release notes

  • Every package now ships a LICENSE file.

    0.0.77release notes

  • Fixed the “none” shape for narrow containers in Liquid Metal.

    0.0.74release notes

  • An empty image prop no longer triggers an error during initial page load in Firefox.

    0.0.72release notes

  • Halftone CMYK now fully supports image transparency.

    0.0.71release notes

  • The JS pre-pass uses a manual blur instead of ctx.filter for Safari support.

    0.0.68release notes

  • Fixed a GLSL error that caused shader rendering to fail.

    0.0.67release notes

  • Image Dithering keeps the origin point consistent regardless of size.

    0.0.66release notes

  • Fluted Glass and Halftone Dots adjust grainOverlay blending so grain is visible over transparent backgrounds.

    0.0.66release notes

  • Mesh Gradient, Static Mesh Gradient, and Static Radial Gradient fix edge case issues with grainOverlay positioning.

    0.0.66release notes

  • Fluted Glass and Image Dithering improved support for transparent images.

    0.0.66release notes

  • Fixed an issue where resizing the shader canvas unexpectedly changed the dot radius.

    0.0.65release notes

  • Color mixing was improved with semi-transparent backgrounds.

    0.0.63release notes

  • The appearance of glass edges was refined when using margin.

    0.0.63release notes

  • Removed the unnecessary “Can’t create a texture on the server” warning during SSR.

    0.0.63release notes

  • Anti-aliasing quality improved for Fluted Glass.

    0.0.62release notes

  • Fixed rendering artifacts visible at large dither sizes.

    0.0.62release notes

  • Cross-GPU safety was improved.

    0.0.61release notes

  • The shader was fixed to work as expected in Firefox.

    0.0.61release notes

  • Fixed rendering for Nvidia GPUs.

    0.0.60release notes

  • Anti-aliasing is improved for all image shaders when images are downscaled.

    0.0.58release notes

  • Liquid Metal has improved contour and edge distortion.

    0.0.58release notes