fix some stuff rendering through the hand (block breaking, selection box, particles, leads)

This commit is contained in:
Xonk 2023-10-30 16:23:02 -04:00
parent 8f5111d82d
commit 56bb9311be

View File

@ -282,7 +282,11 @@ vec4 texture2D_POMSwitch(
//////////////////////////////VOID MAIN//////////////////////////////
//////////////////////////////VOID MAIN//////////////////////////////
#ifdef HAND
/* RENDERTARGETS: 1,7,8,15,2 */
#else
/* RENDERTARGETS: 1,7,8,15 */
#endif
void main() {
@ -442,8 +446,11 @@ void main() {
#endif
#ifdef HAND
if (Albedo.a > 0.1) Albedo.a = 0.75;
else Albedo.a = 0.0;
if (Albedo.a > 0.1){
Albedo.a = 0.75;
gl_FragData[4].a = 0.0;
} else Albedo.a = 1.0;
#endif