mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 17:18:12 -05:00
8 lines
195 B
Text
8 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));
|
||
|
}
|
||
|
|