OpenGL 3/4 GLSL version 300/400 context creation?
-
- Posts: 13
- Joined: Thu Oct 10, 2013 2:20 am
- Location: Tampa, FL
OpenGL 3/4 GLSL version 300/400 context creation?
Does Irrlicht support OpenGL 3 or 4 contexts that can use version 300/400 GLSL shaders? If so, how do you enable it?
Re: OpenGL 3/4 GLSL version 300/400 context creation?
Not yet (just compatibility profile with just OGL2.1 features), anyway OGL 3.x Core Profile will be available in this year
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
Re: OpenGL 3/4 GLSL version 300/400 context creation?
setPixelShaderConstants should work fine for tessellation shaders
make tessellation shaders by using extensions for OGL (modify the pipeline of shader creation in the IVideoDriver)
stick "#version 400 compatibility" at the top of each tessellation shader etc. if you want to get access to legacy stuff like gl_ProjectionMatix
make tessellation shaders by using extensions for OGL (modify the pipeline of shader creation in the IVideoDriver)
stick "#version 400 compatibility" at the top of each tessellation shader etc. if you want to get access to legacy stuff like gl_ProjectionMatix