mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 09:08:22 -05:00
16 lines
434 B
Text
16 lines
434 B
Text
#extension GL_EXT_shadow_samplers : enable
|
|
uniform lowp sampler2DShadow shadowmap;
|
|
varying highp vec4 xlv_TEXCOORD0;
|
|
void main ()
|
|
{
|
|
lowp vec4 tmpvar_1;
|
|
tmpvar_1 = vec4((shadow2DEXT (shadowmap, xlv_TEXCOORD0.xyz) + shadow2DProjEXT (shadowmap, xlv_TEXCOORD0)));
|
|
gl_FragData[0] = tmpvar_1;
|
|
}
|
|
|
|
|
|
// stats: 1 alu 2 tex 0 flow
|
|
// inputs: 1
|
|
// #0: xlv_TEXCOORD0 (high float) 4x1 [-1]
|
|
// textures: 1
|
|
// #0: shadowmap (low 2d) 0x0 [-1]
|