9 lines
163 B
Plaintext
9 lines
163 B
Plaintext
uniform float value;
|
|
uniform float otherValue;
|
|
void main()
|
|
{
|
|
float invValue = 1.0 / value;
|
|
float result = otherValue / invValue;
|
|
gl_FragColor = vec4(result);
|
|
}
|