stop water tinting like glass, tweak torch lighting, fix charged creepers charge not scrolling

This commit is contained in:
Xonk
2024-03-23 18:29:25 -04:00
parent f071204fc9
commit 7811e25236
8 changed files with 17 additions and 15 deletions

View File

@ -328,7 +328,7 @@ void main() {
if (TranslucentShader.a > 0.0){
#ifdef Glass_Tint
if(albedo.a > 0.01) color *= normalize(albedo.rgb+0.0001)*0.9+0.1;
if(!iswater) color *= normalize(albedo.rgb+0.0001)*0.9+0.1;
#endif
color = color*(1.0-TranslucentShader.a) + TranslucentShader.rgb;