So why is PA using OpenGL 2.1 instead of 3.2? ie: 20:41:22.378] INFO GL_VENDOR: ATI Technologies Inc. [20:41:22.378] INFO GL_RENDERER: AMD Radeon HD 6770M OpenGL Engine [20:41:22.378] INFO GL_VERSION: 2.1 ATI-1.8.19 [20:41:22.378] INFO GL_SHADING_LANGUAGE_VERSION: 1.20 I see looking around people have issues getting there program to correctly call 3.2 on OSX but it is supported by OSX 10.8.4 & the 6770M according to https://developer.apple.com/graphicsimaging/opengl/capabilities/ and it appears that correctly switching the the 3.2 context would solve some of the problems OSX is having with objects etc Is there some particular reason for restricting the Game to OpenGl 2.1? glfwWindowHint(GLFW_OPENGL_VERSION_MAJOR, 3); glfwWindowHint(GLFW_OPENGL_VERSION_MINOR, 2); glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
Interesting find, it's something I don't checked actually. Want to believe you'll get GL3 and GLSL 1.3 shaders will work on all platforms then.
Yes that would be nice, it seems Uber isn't currently calling the correct OpenGL 3.2 context in OSX when the game starts so the V1.3 shaders don't work. If they can fix that then hopefully the standard 1.3 shaders would start working on OSX as well.
Seems like I understand why exactly problem with features occur only in game, but not in editor. I played with drivers debug a bit and it's looks like game compile shaders twice. It's might mean that game creating two different OpenGL contexts, one one for system editor and one for actual game. And obviously each of them might use different version of OpenGL.
That makes a lot lot of sense and would explain the various things I see. Hopefully they'll change it so it uses the 3.2 profile for everything. You think it's worth putting up a bug report for?
First I need to be 100% sure that I'm right, then I'll report it in some form. I'll spend more time with debugger and then post back.
So with the release of OSX 10.9 they now support opengl 4.1, and considering 10.9 is a free upgrade for all 10.6-10.8 users Uber really should target it as it's rendering pipeline.