mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-29 11:05:36 -05:00
19 lines
356 B
Text
19 lines
356 B
Text
uniform float otherValue;
|
|
uniform float value;
|
|
void main ()
|
|
{
|
|
float result;
|
|
float invValue;
|
|
float tmpvar_1;
|
|
tmpvar_1 = (1.0 / value);
|
|
invValue = tmpvar_1;
|
|
float tmpvar_2;
|
|
tmpvar_2 = (otherValue / invValue);
|
|
result = tmpvar_2;
|
|
vec4 tmpvar_3;
|
|
tmpvar_3 = vec4(result);
|
|
vec4 tmpvar_4;
|
|
tmpvar_4 = tmpvar_3;
|
|
gl_FragColor = tmpvar_4;
|
|
}
|
|
|