bgfx/3rdparty/glsl-optimizer/tests/fragment/tex2dshadow-out.txt
2012-10-07 20:41:18 -07:00

7 lines
195 B
Text

varying vec4 xlv_TEXCOORD0;
uniform sampler2DShadow shadowmap;
void main ()
{
gl_FragData[0] = vec4((shadow2D (shadowmap, xlv_TEXCOORD0.xyz).x + shadow2DProj (shadowmap, xlv_TEXCOORD0).x));
}