Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
47 user(s) are online (37 user(s) are browsing Forums)

Members: 0
Guests: 47

more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: The OpenGL ES 2.0 thread

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

@all

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