mirror of
https://github.com/Merlin1809/Eclipse-Shader.git
synced 2026-10-10 04:53:07 +08:00
fix 26.2 nametag in end dimension too
This commit is contained in:
@@ -1028,7 +1028,7 @@ if (gl_FragCoord.x * texelSize.x < 1.0 && gl_FragCoord.y * texelSize.y < 1.0 )
|
||||
|
||||
vec3 AmbientLightColor = vec3(AmbientLightEnd_R,AmbientLightEnd_G,AmbientLightEnd_B) ;
|
||||
|
||||
Indirect_lighting = AmbientLightColor + 0.7 * AmbientLightColor * dot(worldSpaceNormal, normalize(feetPlayerPos));
|
||||
Indirect_lighting = AmbientLightColor + 0.7 * AmbientLightColor * clamp(dot(worldSpaceNormal, normalize(feetPlayerPos)), 0.0, 1.0);
|
||||
Indirect_lighting *= 0.1;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user