Merge pull request #15760 from eska014/es3-copy-shader

Fix copy shader in GLSL ES 3.0
This commit is contained in:
Rémi Verschelde 2018-01-16 00:01:53 +01:00 committed by GitHub
commit 14b230f35f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -161,7 +161,7 @@ void main() {
#ifdef SRGB_TO_LINEAR
color.rgb = mix(pow((color.rgb + vec3(0.055)) * (1.0 / (1 + 0.055)),vec3(2.4)),color.rgb * (1.0 / 12.92),lessThan(color.rgb,vec3(0.04045)));
color.rgb = mix(pow((color.rgb + vec3(0.055)) * (1.0 / (1.0 + 0.055)),vec3(2.4)),color.rgb * (1.0 / 12.92),lessThan(color.rgb,vec3(0.04045)));
#endif
#ifdef DEBUG_GRADIENT