mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 11:56:58 -05:00
21 lines
409 B
Text
21 lines
409 B
Text
|
#version 300 es
|
||
|
precision mediump float;
|
||
|
uniform lowp samplerCubeShadow shadowmap;
|
||
|
in mediump vec4 uv;
|
||
|
out mediump vec4 _fragColor;
|
||
|
void main ()
|
||
|
{
|
||
|
lowp float s_1;
|
||
|
lowp float tmpvar_2;
|
||
|
tmpvar_2 = texture (shadowmap, uv);
|
||
|
lowp float tmpvar_3;
|
||
|
tmpvar_3 = tmpvar_2;
|
||
|
s_1 = tmpvar_3;
|
||
|
lowp vec4 tmpvar_4;
|
||
|
tmpvar_4 = vec4(s_1);
|
||
|
lowp vec4 tmpvar_5;
|
||
|
tmpvar_5 = tmpvar_4;
|
||
|
_fragColor = tmpvar_5;
|
||
|
}
|
||
|
|