Fix copy shader in GLSL ES 3.0
This commit is contained in:
parent
03475ba197
commit
cbc194dde6
@ -161,7 +161,7 @@ void main() {
|
|||||||
|
|
||||||
#ifdef SRGB_TO_LINEAR
|
#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
|
#endif
|
||||||
|
|
||||||
#ifdef DEBUG_GRADIENT
|
#ifdef DEBUG_GRADIENT
|
||||||
|
Loading…
Reference in New Issue
Block a user