-
-
Notifications
You must be signed in to change notification settings - Fork 241
Open
Milestone
Description
Description
Implement a VLSEffect (volumetric light scattering, god rays, crepuscular rays).
References:
- https://github.com/mrdoob/three.js/blob/0bf3908b73b2cf73d7361cce17cfc8b816cb2a00/examples/jsm/shaders/GodRaysShader.js
- https://developer.nvidia.com/gpugems/gpugems3/part-ii-light-and-shadows/chapter-13-volumetric-light-scattering-post-process
- https://doc.babylonjs.com/features/featuresDeepDive/lights/volumetricLightScattering
Tasks
- Create
RadialBlurPass. - Create
VLSEffect. - Create
vlsdemo. - Add unit test.
Implementation Details
- Use a multi-pass radial blur.
- The implementation from v6 can be used for reference.
- The effect should use a default light source if none is provided.
- The mesh should be a billboard (white radial gradient).
- Provide a method for creating colored billboards.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels