diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-06-29 11:44:59 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-06-29 15:12:03 +0300 |
commit | 70c6beeafbd7718890bea21f9de8b8720e6b8efe (patch) | |
tree | a5bdaa2ba96b5dff969652a11d542445989cb7f1 /source/blender | |
parent | 087e95d0fe60be312f08b874b4e37de41309442c (diff) |
Fix T99138: EEVEE: Regression: World volume shader incorrect texture coords
The ORCO property was not being properly initialized in this case.
Candidate for 3.2.1 corrective release.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/draw/engines/eevee/shaders/volumetric_frag.glsl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/draw/engines/eevee/shaders/volumetric_frag.glsl b/source/blender/draw/engines/eevee/shaders/volumetric_frag.glsl index 88ade8451a4..c6de723ac25 100644 --- a/source/blender/draw/engines/eevee/shaders/volumetric_frag.glsl +++ b/source/blender/draw/engines/eevee/shaders/volumetric_frag.glsl @@ -86,6 +86,8 @@ void main() discard; return; } +#else /* WORLD_SHADER */ + volumeOrco = worldPosition; #endif #ifdef CLEAR |