Is it possible to use shaders with SDL renderer? |
Twk Amz
|
Hi, I was wondering if there was a way to create a shader(glsl) and attach it to a SDL game without having to render everything with opengl myself. Pretty much like this: http://www.sfml-dev.org/tutorials/2.0/graphics-shader.php and http://alleg.sourceforge.net/a5docs/refman/shader.html Thanks in advance!
|
|||||||||||
|
Is it possible to use shaders with SDL renderer? |
Jonny D
|
There's no official interface for SDL2 to use shaders. However, an extension library I wrote, SDL_gpu, does have a set of functions for using GLSL shaders.
Jonny D On Thu, Mar 19, 2015 at 8:22 AM, Twk Amz wrote:
|
|||||||||||||
|