OpenGL 3/4 GLSL version 300/400 context creation?

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
afuzzyllama
Posts: 13
Joined: Thu Oct 10, 2013 2:20 am
Location: Tampa, FL

OpenGL 3/4 GLSL version 300/400 context creation?

Post by afuzzyllama »

Does Irrlicht support OpenGL 3 or 4 contexts that can use version 300/400 GLSL shaders? If so, how do you enable it?
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: OpenGL 3/4 GLSL version 300/400 context creation?

Post by Nadro »

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
devsh
Competition winner
Posts: 2057
Joined: Tue Dec 09, 2008 6:00 pm
Location: UK
Contact:

Re: OpenGL 3/4 GLSL version 300/400 context creation?

Post by devsh »

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
Post Reply