mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-01 07:25:51 +00:00
10 lines
209 B
GLSL
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);
|
|
}
|