mirror of
https://github.com/Merlin1809/Eclipse-Shader.git
synced 2026-10-10 04:53:07 +08:00
fix possible compile error
This commit is contained in:
@@ -2104,8 +2104,10 @@ vec4 photonicsReflection(
|
|||||||
if(hitTranslucent && isEyeInWater != 1) endPos = translucentHitRays[0].hitPos + world_offset - cameraPosition;
|
if(hitTranslucent && isEyeInWater != 1) endPos = translucentHitRays[0].hitPos + world_offset - cameraPosition;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
vec4 LPVfog = vec4(0.0);
|
||||||
|
|
||||||
#ifdef VOXEL_REFLECTIONS_LPV_FOG
|
#ifdef VOXEL_REFLECTIONS_LPV_FOG
|
||||||
vec4 LPVfog = raymarchWSR_LPV(origin, endPos, noise.x);
|
LPVfog = raymarchWSR_LPV(origin, endPos, noise.x);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
vec4 fog;
|
vec4 fog;
|
||||||
|
|||||||
Reference in New Issue
Block a user