Closed onox closed 2 years ago
Wayland/Windows/Vulkan/Direct3D seem to use an upper-left origin.
GL.Viewports.Set_Clipping
GL.Viewports.Upper_Left
Orka.Contexts.EGL
Might need https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_fragment_coord_conventions.txt in shaders that use gl_FragCoord:
gl_FragCoord
layout(origin_upper_left) in vec4 gl_FragCoord;
Wayland/Windows/Vulkan/Direct3D seem to use an upper-left origin.
GL.Viewports.Set_Clipping
withGL.Viewports.Upper_Left
in packageOrka.Contexts.EGL
Adjust matricesMight need https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_fragment_coord_conventions.txt in shaders that use
gl_FragCoord
: