Merge pull request #153 from gri573/main

don't write garbage data into colortex2 in all_solid.fsh
This commit is contained in:
Xonk 2024-06-06 14:38:34 -04:00 committed by GitHub
commit 4e591db03f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -446,14 +446,13 @@ void main() {
#ifdef HAND
if (Albedo.a > 0.1){
Albedo.a = 0.75;
gl_FragData[3].a = 0.0;
} else {
Albedo.a = 1.0;
}
#endif
#if defined PARTICLE_RENDERING_FIX && (defined ENTITIES || defined BLOCKENTITIES)
gl_FragData[3].a = 0.0;
#if defined HAND || defined ENTITIES || defined BLOCKENTITIES
gl_FragData[3] = vec4(0.0);
#endif