I added the support for light source volume definition (pretty much useful only for BiDir).Dade wrote: ↑Thu Sep 30, 2021 8:46 amThere is a problem when hitting the leaf back faces and "exiting" from something you never entered. I'm adding light source volume definition (like camera) to totally by pass the problem for BiDir (camera-only volume definition was enough for Path because paths go only in one direction).
You can now set the camera volume:
Code: Select all
[...]
scene.camera.volume = "envVolume"
[...]
Code: Select all
[...]
scene.lights.84678.volume = "envVolume"
[...]
scene.lights.84678_sky1.volume = "envVolume"
[...]