PixelEffects' pixel_coords (gl_FragCoord) are flipped vertically inside canvases

Issue #324 resolved
Alex Szpakowski
created an issue

The y component of gl_FragCoord is normally 0,0 at the bottom left, however with a render target set it is 0,0 at the top left. This is probably because of the new flipped glOrtho call for canvases.

See attached .love (press any key to toggle canvas).

Comments (6)

  1. Log in to comment