3 ms·
The code is written purely in GL Shading Language, not specifically WebGL. Though you are right, shaders are their own brand of voodoo in a way. I would recomme
by FreezerburnV 12y ago
The code is written purely in GL Shading Language, not specifically WebGL. Though you are right, shaders are their own brand of voodoo in a way. I would recommend reading up on vector/matrix math and thoroughly going over every line of the shaders until you understand exactly what every line's purpose is if you really want to learn them. (I'm planning on doing that myself, knowing almost nothing about shaders myself) You'll probably come out with a decent working knowledge of how to make a shader :)