Hacker News new | ask | show | jobs
by cmyr 2764 days ago
This is a slight derail, so apologies, but: I've been just starting to get interested in shaders, and have been spending time reading things on shadertoy and working through BoS. Something I find really annoying about shadertoy is the pretty ubiquitous focus on minimizing code size, which I can understand in the context of demoscene, but which is super annoying when you're trying to read something to understand it.

What I'd love to see is something like an 'annotated shadertoy', which encourages inline documentation and explanation of the various moving parts. If anything like this exists, I'd love to hear about it!

2 comments

ShaderToy is a mature and very large community, thus, you can find all types of shaders there. But I can ensure you that there are a lot of users at their platform doing their best to help beginners. FabriceNeyret, for example, comments on lots of shaders, giving optimization tips and making constructive suggestions. Yes, there are some hard to figure shaders there, but there are also very experienced users helping the community. And thanks for the suggestion, I really appreciate it. I'll do my best to make more "documented" shaders to share the little I know with the community.
Some shaders author are really good at commenting their code. Shane for example. And top quality shaders on top of that https://www.shadertoy.com/user/Shane
There are countless insanely talented creators at ShaderToy. Shane, IQ and FabriceNeyret for example. I try to learn from their code as much as I can, but I still don't even scratch the surface of their talent. Those guys creations are an inspiration, and I can only hope to learn a fraction of everything they share with the community.