bgfx/3rdparty/glslang/Test/remap.if.everything.frag
Branimir Karadžić f46d6a5803 Added glslang.
2016-12-15 14:19:54 -08:00

13 lines
151 B
GLSL

#version 450
in float inf;
out vec4 outf4;
void main()
{
if (inf > 2.0)
outf4 = vec4(inf);
else
outf4 = vec4(inf + -.5);
}