diff --git a/shaders/dimensions/all_solid.fsh b/shaders/dimensions/all_solid.fsh index 4fab275..a513368 100644 --- a/shaders/dimensions/all_solid.fsh +++ b/shaders/dimensions/all_solid.fsh @@ -442,7 +442,7 @@ void main() { Albedo.rgb = mix(Albedo.rgb, aerochrome_color, 0.3); } #endif - else if(blockID == 8 || blockID == 10002) + else if(blockID == 8 || (blockID >= 1200 && blockID < 1300)) { // IR Absorbsive? Dark. Albedo.rgb = mix(Albedo.rgb, vec3(0.01, 0.08, 0.15), 0.5); diff --git a/shaders/dimensions/all_solid.vsh b/shaders/dimensions/all_solid.vsh index d4a4f85..2aa2998 100644 --- a/shaders/dimensions/all_solid.vsh +++ b/shaders/dimensions/all_solid.vsh @@ -267,7 +267,7 @@ void main() { // if(NameTags > 0) EMISSIVE = 0.9; // normal block lightsources - if(mc_Entity.x == 10005) EMISSIVE = 0.5; + if(mc_Entity.x >= 1000 && mc_Entity.x < 1200) EMISSIVE = 0.5; // special cases light lightning and beacon beams... #ifdef ENTITIES diff --git a/shaders/dimensions/all_translucent.vsh b/shaders/dimensions/all_translucent.vsh index 729b430..107855b 100644 --- a/shaders/dimensions/all_translucent.vsh +++ b/shaders/dimensions/all_translucent.vsh @@ -104,7 +104,7 @@ void main() { gl_Position.z -= 1e-4; } - if (mc_Entity.x == 10002) mat = 0.2; + if (mc_Entity.x >= 1200 && mc_Entity.x < 1300) mat = 0.2; if (mc_Entity.x == 72) mat = 0.5; #if defined ENTITIES || defined BLOCKENTITIES diff --git a/shaders/world0/shadow.vsh b/shaders/world0/shadow.vsh index c9f7ba2..2373ee0 100644 --- a/shaders/world0/shadow.vsh +++ b/shaders/world0/shadow.vsh @@ -226,7 +226,7 @@ void main() { if (blockId == 8u) gl_Position.w = -1.0; // color.a = 1.0; - // if(blockId != 10002) color.a = 0.0; + // if((blockID < 1200 || blockID >= 1300)) color.a = 0.0; // materials = 0.0;