mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 17:18:12 -05:00
9 lines
163 B
Text
9 lines
163 B
Text
|
uniform float value;
|
||
|
uniform float otherValue;
|
||
|
void main()
|
||
|
{
|
||
|
float invValue = 1.0 / value;
|
||
|
float result = otherValue / invValue;
|
||
|
gl_FragColor = vec4(result);
|
||
|
}
|