Reccomended GLSL version to use with Irrlicht

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
tasulife
Posts: 20
Joined: Sat Sep 21, 2013 8:09 pm

Reccomended GLSL version to use with Irrlicht

Post by tasulife »

I would like to experiment with shaders and irrlicht to explore the world of shadow mapping, deferred shading, bloom, HDR and other modern rendering techniques. However, I don't really know what GLSL version to commit to writing these shaders in.

Here is my criteria for choosing a GLSL version, in descending order of importance:
- I would like to have a good feature set, which will allow me to implement *most* of the cool shader techniques on the web without writing huge functions to replace missing functionality in earlier GLSL versions.
- I would like to avoid having to write code that changes the irrlicht binary if possible. However, I can be persuaded with the argument "if you make this quick change to Irrlicht, you can unlock a ton of shader power".
- The shader version should work on the vast majority of computers deployed in the world

So, how do I get the most bang for my buck with GLSL and Irrlicht "out of the box"?

Thank you! :D
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Reccomended GLSL version to use with Irrlicht

Post by Nadro »

Irrlicht has OpenGL 2.1 driver, thats why you should choose GLSL 1.2.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: Reccomended GLSL version to use with Irrlicht

Post by hendu »

1.10 and 1.20 run on every GL2 driver, 1.30 gives more features while still running on most (may require DX10-level gpu). You can use 1.30 without any irr changes.
Post Reply