Shader support

Hi everyone,

Dos SDL provide an API to create shaders? I’ve looked in the repository but I could not see anything and all the tutorials I have looked at say to create an OpenGL shader. I want to be able to support directx shaders as well.

Not yet, but @icculus is working on an extension to SDL that will allow this, and also provide a generalized way to do some 3D stuff without having to get down in the weeds with different GPU APIs.

You might want to look at SDL_gpu, which includes a Shader API; I’m not sure whether it supports DirectX shaders or not.

Personally I’m happy to use OpenGL shaders, even in Windows.