Page 1 of 1

Shader 'Tutorial' Widget

Posted: 04 Nov 2009, 19:44
by TheFatController
I was just having a conversation with a friend about how there doesn't seem to be any good sources online that go through basic gl shader examples for educational purposes, then we decided it would also be much easier to learn shaders if there was a free interactive editor that would let you work out how the code translates to effects in real time (in the same way that http://regexpal.com/ lets you test regular expressions).

I realised this is probably possible in the Spring engine using an widget that generates a text box and buttons you could let people cycle though a list of examples and modify them ingame and hit refresh or be able to write their own from scratch etc.

This could then even be bundled into a demo mod package with installer and published around the internet and may potentially be quite popular if no such tool currently exists (and would promote the engine).

Anyhoo I can't write this as I lack the required shader knowledge to begin with but if anyone wants to comment or steal the idea please go right ahead..! :wink:

Re: Shader 'Tutorial' Widget

Posted: 04 Nov 2009, 22:51
by AF
Such a tool could easily be written using QT c++

These days though they use editors that look like noodles

Re: Shader 'Tutorial' Widget

Posted: 05 Nov 2009, 02:43
by Tribulex
AF wrote:Such a tool could easily be written using QT c++

These days though they use editors that look like noodles
WELL DO IT

Re: Shader 'Tutorial' Widget

Posted: 05 Nov 2009, 02:58
by AF
I'd like several months worth of extra time delivered in large steel containers to this address.....

Re: Shader 'Tutorial' Widget

Posted: 05 Nov 2009, 21:00
by Argh
I was just having a conversation with a friend about how there doesn't seem to be any good sources online that go through basic gl shader examples for educational purposes
Uh, that's certainly not true, but they're harder to find than is perhaps ideal:

Here's a good starting-point, for people just getting acquainted, and has links to many other tutorials:
http://nehe.gamedev.net/data/articles/a ... article=21