Hacker News new | ask | show | jobs
by ajross 2370 days ago
Really, it's more a tutorial on rendering algorithms than it is about WebGL per se. There are lots of tutorials out there where you can look up the minutiae of how to set up a canvas, clear the framebuffer and set up a rendering loop. This is about how to draw stuff using fragment shaders in a non-trivial (but still pleasingly simple!) way.

There is comparatively little content for that -- most of it gets sucked down into the mathematics of bump mapping or discussions about stencil buffer precision. I rather liked it.

1 comments

Part of it is that it requires an art side of things. There's no tutorial that can tell you "how to shader", more than there is a tutorial that tells you how to draw. Well, there are plenty of "how to draw" tutorials but they don't get you that far, it's a process of self-discovery and a skill that you need to practice.

Similarly, there are plenty of tech art / VFX shader tutorials out there if you go looking in the right spot, but they can't tell you how to construct a scene like this. That's something that the art side of you needs to solve.