SFML community forums

General => Feature requests => Topic started by: OniLinkPlus on December 11, 2009, 04:46:09 am

Title: Vertex Shaders
Post by: OniLinkPlus on December 11, 2009, 04:46:09 am
So you have Pixel Shaders working pretty well, I think that you should go ahead and allow us to write our own Vertex Shaders now. It would increase the Flexibility without needing too much to be changed. I am positive someone can find an use for Vertex Shaders in 2D, and if nobody can, then at least we can use gl* 3D Functions with 100% Custom Shaders!
Title: Vertex Shaders
Post by: Laurent on December 11, 2009, 08:27:03 am
Hi

I already answered to this request:
http://www.sfml-dev.org/forum/viewtopic.php?p=11626#11626

Quote
and if nobody can, then at least we can use gl* 3D Functions with 100% Custom Shaders

SFML doesn't aim at providing an abstract layer over OpenGL functions. If something is not relevant for the 2D graphics module, then I won't implement it.
However, providing such a layer is another project that I'll probably think about in the future (when I'll need to make SFML compatible with OpenGL ES, for example).