Shader 'Tutorial' Widget
Posted: 04 Nov 2009, 19:44
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..!
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..!
