bgfx/3rdparty/glsl-optimizer/tests/fragment/tex2dshadow-outES.txt

9 lines
246 B
Text
Raw Normal View History

2012-10-07 23:41:18 -04:00
#extension GL_EXT_shadow_samplers : enable
varying highp vec4 xlv_TEXCOORD0;
uniform sampler2DShadow shadowmap;
void main ()
{
gl_FragData[0] = vec4((shadow2DEXT (shadowmap, xlv_TEXCOORD0.xyz) + shadow2DProjEXT (shadowmap, xlv_TEXCOORD0)));
}