9
0
mirror of https://github.com/IrisDimensions/overworld.git synced 2025-12-29 19:59:20 +00:00
Files
Iris-Pack-Overworld/gource/data/shaders/shadow.frag
2020-07-17 04:16:29 -04:00

10 lines
209 B
GLSL

uniform sampler2D tex;
uniform float shadow_strength;
void main(void)
{
vec4 colour = texture2D(tex,gl_TexCoord[0].st);
gl_FragColor = vec4(0.0, 0.0, 0.0, gl_Color.w * colour.w * shadow_strength);
}