Page 1 of 1

Shader support for Software Renderer?

Posted: Sat Jul 30, 2016 3:19 am
by sunnystormy
I wanted to know if it was possible to use GLSL with the Software Renderer? I'm working on a project that may not have access to a GPU, but wanted to see if it was still possible to get shaders to run?

Please let me know. :)

Re: Shader support for Software Renderer?

Posted: Sat Jul 30, 2016 9:20 am
by hendu
Not with the irr sw device. For that, you need a software GL implementation, of which Mesa has four (swrast, softpipe, llvmpipe, swr). They can be used even without a display, and on any OS, though most users are on Linux so if you're on Windows/other, it may need some work.

Re: Shader support for Software Renderer?

Posted: Sat Jul 30, 2016 11:22 pm
by Mel
It would be really one tough task to add a shader renderers for the software drivers XD Perhaps it would be interesting to have a driver built upon a software GL, i think i've seen a video of a MESA implementation running on the ancient MS-DOS... And perhaps in the end the diference would be which library are you linking to.

Re: Shader support for Software Renderer?

Posted: Sun Jul 31, 2016 7:23 am
by hendu
It's several million lines of code, and completely outside the app - you can run the same GL app against a hw or sw driver. So wouldn't make sense to have at irr driver level.