Hi everyone,
I have been working on a rough demo project exploring irradiance volumes / probe-volume-style baked indirect lighting for Babylon.js.
GitHub repository:
Live pages:
-
Baking page
IrradianceVolume Bake -
Direct
.ivolpreview page
Sponza IVOL Direct Preview -
WebGL validation page
IrradianceVolume Validate WebGL -
WebGPU validation page
IrradianceVolume Validate WebGPU
This project is still only a rough demo and needs a lot of improvement. The current goal is to test whether Babylon.js could support a baked irradiance volume / probe volume workflow for dynamic objects.
The demo currently experiments with:
- Baking irradiance volume data in a Babylon.js scene
- Saving the baked result as an
.ivolfile - Loading the
.ivolfile at runtime - Sampling the baked lighting on dynamic objects
- Comparing behavior between WebGL and WebGPU
My hope is to eventually add this kind of feature to Babylon.js, but I would really like to hear the community’s opinion first: would adding this feature to Babylon.js be meaningful and useful?
If anyone is interested in this direction, contributions, testing, suggestions, or technical feedback would be very welcome. Please feel free to leave any thoughts or ideas in this thread.