mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 11:56:58 -05:00
19 lines
368 B
Text
19 lines
368 B
Text
uniform float otherValue;
|
|
uniform float value;
|
|
void main ()
|
|
{
|
|
float result_1;
|
|
float invValue_2;
|
|
float tmpvar_3;
|
|
tmpvar_3 = (1.0 / value);
|
|
invValue_2 = tmpvar_3;
|
|
float tmpvar_4;
|
|
tmpvar_4 = (otherValue / invValue_2);
|
|
result_1 = tmpvar_4;
|
|
vec4 tmpvar_5;
|
|
tmpvar_5 = vec4(result_1);
|
|
vec4 tmpvar_6;
|
|
tmpvar_6 = tmpvar_5;
|
|
gl_FragColor = tmpvar_6;
|
|
}
|
|
|