1
Feature requests / Integer/Uint/bool setParameter functions in sf::Shader?
« on: August 19, 2013, 02:20:31 am »
Hello,
I've been using SFML for a few months now, and I must say thank you for a wonderful OpenGL library!
I was wondering if it would make sense to expose the int/uint/bool forms of glUniform() in sf::Shader? It feels like it's a little awkward having floats only to me.
Also, I'm just curious, is there a reason that sf::Shader uses ARB syntax still, despite the rest of the code base being based around OpenGL2 or greater? It's obviously not hurting anything, just curious.
Many thanks!
I've been using SFML for a few months now, and I must say thank you for a wonderful OpenGL library!
I was wondering if it would make sense to expose the int/uint/bool forms of glUniform() in sf::Shader? It feels like it's a little awkward having floats only to me.
Also, I'm just curious, is there a reason that sf::Shader uses ARB syntax still, despite the rest of the code base being based around OpenGL2 or greater? It's obviously not hurting anything, just curious.
Many thanks!