His editor is very good, live preview of shaders, colour pickers, sliders for scalars, breakpoints. Check it out here: <a href="http://editor.thebookofshaders.com" rel="nofollow">http://editor.thebookofshaders.com</a>
As a graphics programmer, I'm always a bit disappointed that materials on sharers tend to concentrate on fragment/pixel sharers and neglect vertex, geometry and tesselation shaders.<p>You can do pretty cool procedural stuff in a vertex shader (without any vertex data inputs). It's a necessity for animated models.<p>There's even less material on geometry and tesselation available.<p>This book seems to have rather nice pixel shading tricks but I'd like to see some stuff about the other stages too.
This is amazing resource!<p>Though there is some unexpected behaviour on the site. After load, it always automatically scrolls down to the last editor window, as all editors seems to be selected on load. This is on Chrome Version 49.0.2623.110 (64-bit)
Can somebody explain to me the meaning of the variable names "st" and "pct" on this page[0]? I understand the code itself, but I can't puzzle out what the letters stand for.<p>[0]<a href="http://thebookofshaders.com/05/" rel="nofollow">http://thebookofshaders.com/05/</a>