fix lightning bolts, ensure POM cannot interact with item frames and signs.

This commit is contained in:
Xonk
2023-06-28 15:34:23 -04:00
parent d46a423c50
commit e22f5f402d
6 changed files with 19 additions and 9 deletions

View File

@ -226,16 +226,17 @@ void main() {
if(blockEntityId == 2200) SIGN = 1;
if(blockEntityId == 2100) PORTAL = 1;
#endif
NameTags = 0;
PHYSICSMOD_SNOW = 0;
#ifdef ENTITIES
#ifdef ENTITY_PHYSICSMOD_SNOW
if(entityId == 829925) PHYSICSMOD_SNOW = 1;
#endif
#ifdef ENTITY_PHYSICSMOD_SNOW
if(entityId == 829925) PHYSICSMOD_SNOW = 1;
#endif
if(entityId == 2300) SIGN = 1;
// try and single out nametag text and then discard nametag background
// if( dot(gl_Color.rgb, vec3(1.0/3.0)) < 1.0) NameTags = 1;