←back to thread

201 points ibobev | 3 comments | | HN request time: 0.199s | source
1. arionmiles ◴[] No.46197885[source]
I'm oddly fascinated with GLSL shaders recently because I've been trying out a terminal which supports shaders. I have currently applied a retro terminal shader and love using terminal this way.

What's a good way to get started learning to build/customize shaders with GLSL? I have an engineering math background but I was never the best at math. And GLSL syntax looks a bit tedious to be honest, but I'd love to dive in.

replies(2): >>46198661 #>>46199415 #
2. ux ◴[] No.46198661[source]
> What's a good way to get started learning to build/customize shaders with GLSL?

I gave some directions and resources in a comment here, it might help you: https://www.reddit.com/r/GraphicsProgramming/comments/1pgqis...

> And GLSL syntax looks a bit tedious to be honest, but I'd love to dive in.

With the vectorization everywhere, it's surprisingly convenient given how simple the syntax is. I personally just miss some sinpi/cospi/etc, and/or a PI and TAU constant.

3. jesse__ ◴[] No.46199415[source]
https://www.shadertoy.com/ is a goldmine for learning shaders