summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-fs-shadow2d.frag
blob: 765f648d2fa515c6b66963dcc5d79edf498baf24 (plain)
1
2
3
4
5
6
7
8
#version 110

uniform sampler2DShadow tex;
varying vec4 tex_coord;

void main() {
	gl_FragColor = shadow2D(tex, tex_coord.xyy);
}