mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 11:56:58 -05:00
23 lines
460 B
Text
23 lines
460 B
Text
|
uniform lowp float low_c;
|
||
|
uniform mediump float med_b;
|
||
|
uniform mediump float med_a;
|
||
|
void main ()
|
||
|
{
|
||
|
lowp vec4 c_1;
|
||
|
lowp float t_2;
|
||
|
mediump float tmpvar_3;
|
||
|
tmpvar_3 = (med_a + (low_c / med_b));
|
||
|
t_2 = tmpvar_3;
|
||
|
lowp vec4 tmpvar_4;
|
||
|
tmpvar_4 = vec4(t_2);
|
||
|
lowp vec4 tmpvar_5;
|
||
|
tmpvar_5 = clamp (tmpvar_4, 0.0, 1.0);
|
||
|
lowp vec4 tmpvar_6;
|
||
|
tmpvar_6 = tmpvar_5;
|
||
|
c_1 = tmpvar_6;
|
||
|
lowp vec4 tmpvar_7;
|
||
|
tmpvar_7 = c_1;
|
||
|
gl_FragColor = tmpvar_7;
|
||
|
}
|
||
|
|