mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-11 00:31:28 -05:00
15 lines
295 B
Text
15 lines
295 B
Text
|
uniform lowp float low_c;
|
||
|
uniform mediump float med_b;
|
||
|
uniform mediump float med_a;
|
||
|
void main ()
|
||
|
{
|
||
|
lowp float t_1;
|
||
|
mediump float tmpvar_2;
|
||
|
tmpvar_2 = (med_a + (low_c / med_b));
|
||
|
t_1 = tmpvar_2;
|
||
|
lowp vec4 tmpvar_3;
|
||
|
tmpvar_3 = clamp (vec4(t_1), 0.0, 1.0);
|
||
|
gl_FragColor = tmpvar_3;
|
||
|
}
|
||
|
|