material mask for entities so snow doesnt go on them

This commit is contained in:
Xonk
2023-06-23 13:40:15 -04:00
parent 906d5ae9a6
commit 4345e0560e
3 changed files with 7 additions and 9 deletions

View File

@ -214,7 +214,6 @@ void main() {
NameTags = 0;
PHYSICSMOD_SNOW = 0;
#ifdef ENTITIES
#ifdef ENTITY_PHYSICSMOD_SNOW
@ -227,6 +226,7 @@ PHYSICSMOD_SNOW = 0;
// if(gl_Color.a < 1.0) NameTags = 1;
// if(gl_Color.a >= 0.24 && gl_Color.a <= 0.25 ) gl_Position = vec4(10,10,10,1);
if(entityId == 1100 || entityId == 1200 || entityId == 2468) normalMat.a = 0.45;
#endif