mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-29 02:55:36 -05:00
9 lines
246 B
Text
9 lines
246 B
Text
|
#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)));
|
||
|
}
|
||
|
|