mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Fix invalid liquid lighting.
This commit is contained in:
parent
a2003b0d55
commit
db60ae0459
1 changed files with 1 additions and 1 deletions
|
@ -91,5 +91,5 @@ vec4 base = texture2D(baseTexture, uv).rgba;
|
|||
float d = max(0.0, min(vPosition.z / fogDistance * 1.5 - 0.6, 1.0));
|
||||
alpha = mix(alpha, 0.0, d);
|
||||
}
|
||||
gl_FragColor = vec4(color.rgb, alpha);
|
||||
gl_FragColor = vec4(col.rgb, alpha);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue