Skip to content

feat: DynamicSkyNode + FogNode + dynamic-sky sample (3.3.0)#674

Merged
ThomasGorisse merged 1 commit intomainfrom
feat/dynamic-sky-fog-node
Mar 20, 2026
Merged

feat: DynamicSkyNode + FogNode + dynamic-sky sample (3.3.0)#674
ThomasGorisse merged 1 commit intomainfrom
feat/dynamic-sky-fog-node

Conversation

@ThomasGorisse
Copy link
Contributor

Summary

  • DynamicSkyNodeSceneScope extension composable that drives a Filament SUN light based on timeOfDay (0–24 h). Sun position, colour (night → warm orange → white noon) and intensity all react to recomposition.
  • FogNode — reactive composable that applies View.fogOptions (density, height falloff, colour) on each recomposition. Zero overhead when enabled = false.
  • samples/dynamic-sky — interactive demo with sliders for time-of-day, turbidity, sun intensity; toggleable atmospheric fog with density/height controls; Fox.glb model under HDR environment.

Roadmap

Closes 3.3.0 items: DynamicSkyNode and FogNode.

Test plan

  • Build :samples:dynamic-sky:assembleDebug
  • Drag time slider through dawn→noon→dusk and verify sun colour/direction changes
  • Enable fog and drag density slider — scene should fade to grey-blue
  • CI build passes

🤖 Generated with Claude Code

…map)

- DynamicSkyNode — SceneScope extension that drives a Filament SUN light
  based on time-of-day (0–24 h); colour, intensity and direction all update
  reactively. Turbidity parameter controls sunrise/sunset warmth.
- FogNode — reactive composable that applies View.fogOptions (density,
  height falloff, colour) on each recomposition.
- samples/dynamic-sky — interactive demo with time-of-day slider, turbidity
  and sun intensity controls, togglable fog, Fox.glb model and HDR environment.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ThomasGorisse ThomasGorisse force-pushed the feat/dynamic-sky-fog-node branch from 8ebd2ec to 3d6a3b6 Compare March 20, 2026 19:29
@ThomasGorisse ThomasGorisse merged commit a36bce2 into main Mar 20, 2026
0 of 2 checks passed
@ThomasGorisse ThomasGorisse deleted the feat/dynamic-sky-fog-node branch March 20, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant