mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2024-12-22 09:38:52 +08:00
don't leave gl_FragData[3] uninitialised at all
in all_solid.fsh
This commit is contained in:
parent
645e5d7f38
commit
302ad6958e
@ -446,13 +446,12 @@ void main() {
|
||||
#ifdef HAND
|
||||
if (Albedo.a > 0.1){
|
||||
Albedo.a = 0.75;
|
||||
gl_FragData[3] = vec4(0.0);
|
||||
} else {
|
||||
Albedo.a = 1.0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined PARTICLE_RENDERING_FIX && (defined ENTITIES || defined BLOCKENTITIES)
|
||||
#if defined HAND || defined ENTITIES || defined BLOCKENTITIES
|
||||
gl_FragData[3] = vec4(0.0);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user