Skip to content

Commit

Permalink
merian-nodes: Shadertoy: Fix y-Flip
Browse files Browse the repository at this point in the history
  • Loading branch information
LDAP committed Sep 13, 2024
1 parent 06cdf2b commit 54b21d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/merian-nodes/nodes/shadertoy/shadertoy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void main()
}
vec4 frag_color;
mainImage(frag_color, pixel);
mainImage(frag_color, vec2(pixel.x, iResolution.y - pixel.y - 1));
// WebGL or Shadertoy does not do a Linear->sRGB conversion
// thus the shader must output sRGB. But here the shader is expected to output
// linear!
Expand Down

0 comments on commit 54b21d6

Please sign in to comment.