Try wrapping the final gl_FragColor
in linearToOutputTexel(vec4 color)
:
gl_FragColor = linearToOutputTexel(vec4(vColor, 1) );
Try wrapping the final gl_FragColor
in linearToOutputTexel(vec4 color)
:
gl_FragColor = linearToOutputTexel(vec4(vColor, 1) );