My weekend project for the last few weeks is a new Shader language. It's a twisted version of Forth, with some APL-inspired pieces. https://github.com/daeken/Shaderforth
The macro facilities and compile-time arrays make many things super, super compact and beautiful. A great example is a raymarcher: https://github.com/daeken/Shaderforth/blob/master/examples/r... You can see it in action on Shadertoy here: https://www.shadertoy.com/view/4slGWl !Warning! Windows users have been reporting some problems, so be careful. (If it crashes your browser, please let me know what your setup is!)
Comments (761) 320 threads
Show all comments
Showing thread 27 of 320
The macro facilities and compile-time arrays make many things super, super compact and beautiful. A great example is a raymarcher: https://github.com/daeken/Shaderforth/blob/master/examples/r...
You can see it in action on Shadertoy here: https://www.shadertoy.com/view/4slGWl !Warning! Windows users have been reporting some problems, so be careful. (If it crashes your browser, please let me know what your setup is!)