mirror of
https://github.com/Merlin1809/Eclipse-Shader.git
synced 2026-10-12 02:08:18 +08:00
fix block entities and entities behind translucents (and maybe discoloured enchantment glint) on some systems
This commit is contained in:
1 parent
d357554021
commit
645e5d7f38
1 file changed
+2
-2
@@ -446,14 +446,14 @@ void main() {
|
||||
#ifdef HAND
|
||||
if (Albedo.a > 0.1){
|
||||
Albedo.a = 0.75;
|
||||
gl_FragData[3].a = 0.0;
|
||||
gl_FragData[3] = vec4(0.0);
|
||||
} else {
|
||||
Albedo.a = 1.0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined PARTICLE_RENDERING_FIX && (defined ENTITIES || defined BLOCKENTITIES)
|
||||
gl_FragData[3].a = 0.0;
|
||||
gl_FragData[3] = vec4(0.0);
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user