![]() # Objective Fixes https://github.com/bevyengine/bevy/issues/17590. ## Solution `prepare_volumetric_fog_uniforms` adds a uniform for each combination of fog volume and view. But it only allocated enough uniforms for one fog volume per view. ## Testing Ran the `volumetric_fog` example with 1/2/3/4 fog volumes. Also checked the `fog_volumes` and `scrolling_fog` examples (without multiple volumes). Win10/Vulkan/Nvidia. To test multiple views I tried adding fog volumes to the `split_screen` example. This doesn't quite work - the fog should be centred on the fox, but instead it's centred on the window. Same result with and without the PR, so I'm assuming it's a separate bug.  |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |