This commit is contained in:
Daniel Mills
2020-07-17 04:15:43 -04:00
parent 202a7106a7
commit 58dcb72adc
48 changed files with 1629 additions and 4 deletions

View File

@@ -0,0 +1,9 @@
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);
}