Skip to content

Releases: pmndrs/sky

Release list

@pmndrs/sky 0.2.0

Choose a tag to compare

@DennisSmolek DennisSmolek released this 08 Sep 05:49

first npm release.

  • Stylized looks. An artist-control layer over the physical sky: a colour ramp over view elevation plus a sun-relative tint, blended on two axes — chroma (swap hue, keep physical luminance) and value (override luminance too, for artificial moonlight). sky.setLook('ghibli-day'), sky.setLookTrack('ghibli') (follows sun elevation), registerLook(...). Built-in ghibli-night/dusk/day. Background, PMREM IBL and aerial-perspective haze all inherit the look. See docs/guides/looks.mdx.
  • Unreal-parity knobs. setMultiScatteringFactor(n) (feeds the LUT bake), setSkyLuminanceFactor(color) and setAerialPerspectiveDistanceScale(n) (uniforms, no rebake).
  • React: look, lookTrack, skyLuminanceFactor, apDistanceScale, multiScatteringFactor props on <Sky>. <Sky> is now an effect-owned resource with an explicit disposal contract (StrictMode-safe).
  • React bindings require @react-three/fiber >= 10.0.0-alpha.4 — earlier 10.x canaries import a WebGL-only class from three/webgpu and fail to load.
  • Headless-WebGPU verification script for the looks layer: examples/vanilla/scripts/verify-looks.mjs.
  • Known: the built-in Ghibli palette is a first pass and will be re-tuned.

Install: npm i @pmndrs/sky three · React bindings need @react-three/fiber >= 10.0.0-alpha.4.

🤖 Generated with Claude Code