mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-11 08:41:31 -05:00
14 lines
208 B
Text
14 lines
208 B
Text
|
#version 300 es
|
||
|
precision mediump float;
|
||
|
|
||
|
uniform samplerCubeShadow shadowmap;
|
||
|
|
||
|
in mediump vec4 uv;
|
||
|
out mediump vec4 _fragColor;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
float s = texture (shadowmap, uv);
|
||
|
_fragColor = vec4(s);
|
||
|
}
|