diff --git a/shaders/dimensions/all_translucent.fsh b/shaders/dimensions/all_translucent.fsh index 0c8697a..da2fc80 100644 --- a/shaders/dimensions/all_translucent.fsh +++ b/shaders/dimensions/all_translucent.fsh @@ -21,7 +21,7 @@ in DATA { vec4 lmtexcoord; - #ifdef LIGHTNING + #if defined LIGHTNING || defined ENTITIES vec4 color; #else vec3 color; @@ -645,7 +645,7 @@ if (gl_FragCoord.x * texelSize.x < 1.0 && gl_FragCoord.y * texelSize.y < 1.0 ) gl_FragData[0].rgb *= color.rgb; - #ifdef LIGHTNING + #if defined LIGHTNING || defined ENTITIES gl_FragData[0].a *= color.a; #endif #else diff --git a/shaders/dimensions/all_translucent.vsh b/shaders/dimensions/all_translucent.vsh index 7ddf3b1..94756bd 100644 --- a/shaders/dimensions/all_translucent.vsh +++ b/shaders/dimensions/all_translucent.vsh @@ -24,7 +24,7 @@ Read the terms of modification and sharing before changing something below pleas out DATA { vec4 lmtexcoord; - #ifdef LIGHTNING + #if defined LIGHTNING || defined ENTITIES vec4 color; #else vec3 color; @@ -139,7 +139,7 @@ void main() { gl_Position = ftransform(); color.rgb = gl_Color.rgb; - #ifdef LIGHTNING + #if defined LIGHTNING || defined ENTITIES color.a = gl_Color.a; #endif