mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-01-04 00:23:41 +08:00
forgot a thing
This commit is contained in:
parent
f4d28bbe03
commit
21e20c2d7a
@ -586,6 +586,7 @@ void ApplySSRT(inout vec3 lighting, vec3 normal,vec2 noise,vec3 fragpos, vec2 li
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef SKY_CONTRIBUTION_IN_SSRT
|
#ifdef SKY_CONTRIBUTION_IN_SSRT
|
||||||
|
if(isGrass) rayDir.y = clamp(rayDir.y + 0.5,-1,1);
|
||||||
skycontribution = (skyCloudsFromTex(rayDir, colortex4).rgb / 15.0) * skyLM + torchlight;
|
skycontribution = (skyCloudsFromTex(rayDir, colortex4).rgb / 15.0) * skyLM + torchlight;
|
||||||
#else
|
#else
|
||||||
if(isGrass) rayDir.y = clamp(rayDir.y + 0.25,-1,1);
|
if(isGrass) rayDir.y = clamp(rayDir.y + 0.25,-1,1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user