Tweak ambient light color sampling to be more gooder

This commit is contained in:
Xonk
2023-06-28 17:14:08 -04:00
parent 4d2c35c526
commit c4c2e0d2d7
7 changed files with 20 additions and 11 deletions

View File

@ -223,7 +223,9 @@ void main() {
SIGN = 0;
#ifdef WORLD
// disallow POM to work on signs.
if(blockEntityId == 2200) SIGN = 1;
if(blockEntityId == 2100) PORTAL = 1;
#endif
@ -231,12 +233,13 @@ void main() {
PHYSICSMOD_SNOW = 0;
#ifdef ENTITIES
// disallow POM to work on item frames.
if(entityId == 2300) SIGN = 1;
#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;