mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2024-12-23 01:59:39 +08:00
Merge pull request #153 from gri573/main
don't write garbage data into colortex2 in all_solid.fsh
This commit is contained in:
commit
4e591db03f
@ -446,14 +446,13 @@ void main() {
|
|||||||
#ifdef HAND
|
#ifdef HAND
|
||||||
if (Albedo.a > 0.1){
|
if (Albedo.a > 0.1){
|
||||||
Albedo.a = 0.75;
|
Albedo.a = 0.75;
|
||||||
gl_FragData[3].a = 0.0;
|
|
||||||
} else {
|
} else {
|
||||||
Albedo.a = 1.0;
|
Albedo.a = 1.0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined PARTICLE_RENDERING_FIX && (defined ENTITIES || defined BLOCKENTITIES)
|
#if defined HAND || defined ENTITIES || defined BLOCKENTITIES
|
||||||
gl_FragData[3].a = 0.0;
|
gl_FragData[3] = vec4(0.0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user