mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-29 02:55:36 -05:00
19 lines
368 B
Text
19 lines
368 B
Text
uniform float value;
|
|
uniform float otherValue;
|
|
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;
|
|
}
|
|
|