LybOutlines/shaders/lib/materials/specificMaterials/others/signText.glsl
2024-06-25 14:45:54 +02:00

15 lines
No EOL
308 B
GLSL

normalM = upVec;
highlightMult = 0.0;
shadowMult = vec3(0.0);
#if MC_VERSION >= 11700
if (lmCoord.x > 0.99) { // Glowing Sign Text
lmCoordM = vec2(0.0);
emission = 1.0;
color.rgb *= length(color.rgb) + 0.5;
} else // Normal Sign Text
#endif
color.rgb *= 5.0;