Remember me

Lost Password?

Register now!


Who's Online
78 user(s) are online (61 user(s) are browsing Forums)

Members: 1
Guests: 77

noXLar, more...

Support us!


Report message:*

Re: The OpenGL ES 2.0 thread

Subject: Re: The OpenGL ES 2.0 thread
by Capehill on 2019/7/10 14:17:46


Question about gl_FragCoord behaviour: according to https://www.khronos.org/registry/OpenG ... 4/html/gl_FragCoord.xhtml , the origin is at the lower left corner.

To me it seems that the AmigaOS 4 origin is at the upper-left corner. If I multiply white color by gl_FragCoord.x/y coordinate divided by window w/h, the white gradient is at the lower-right part of the window, instead of the expected upper-right.

Anybody could clarify what is correct behaviour? Demo program available (later).

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project