You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[VFX] Fix Volumetric Fog Output with multiple outputs
When using multiple Volumetric Fog Outputs in a single system, the buffers `outputBuffer` and `maxSliceCount` were shared between the outputs, which was incorrect. It was leading to GPU hangs on some platforms, and to an excessive amount of slices being drawn on all platforms.
This PR makes sure that each output is working on its own set of buffers.
Renderdoc screenshots of the draw calls:
- Before : the quad count is the same of both draw calls and is the sum of the two required quad count for each output ->Wrong

- After : the quad count is different for each draw call and matches the number of required slices for each output -> Correct

0 commit comments