Remix.run Logo
A series of tricks and techniques I learned doing tiny GLSL demos(blog.pkh.me)
107 points by ibobev 6 hours ago | 8 comments
throwaway2046 4 minutes ago | parent | next [-]

The page almost crashed my phone... Archived version: https://archive.ph/9s9ys

reactordev an hour ago | parent | prev | next [-]

I’m not a fan of the minified glsl that guys like this produce but I do get a chuckle when variable declarations spell out damnit. The frustrations are real.

That aside, i love the work, I just hate having to mentally grok the d and c style variables. As if number of chars minimum is the goal. Number of instructions yes, but we can do better than d and t.

Moonlight is beautiful.

arionmiles an hour ago | parent | prev | next [-]

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.

YesBox 2 hours ago | parent | prev | next [-]

Thanks for putting this together. Shaders are something I wish I had the time to dive deep into, but since I'm making a game, my time is very limited for the time being. i.e. I only learn what I need to.

Only critique is.. if you're sharing to teach, your compact/one line [460] char GLSL code is a poor delivery mechanism.

lloeki an hour ago | parent [-]

I don't know, I kind of liked it.

For once instead of being shoved a ready-made solution there's a short explanation of the core idea with a live example, but instead of a fully documented shadertoy it's like the answer is ROT13'd which makes me itch for implementing a solution myself.

rypskar 4 hours ago | parent | prev | next [-]

Nice looking demos, I hope to some day manage to get results close to what you have.

I started playing around with GLSL recently and the closest I have come to describing working with it is that it is like creating poetry using math. Getting started was much easier than I expected, getting good results is so far as hard as expected

WhyOhWhyQ 3 hours ago | parent | prev | next [-]

This is really cool and inspirational! Looking forward to studying this closer!

akomtu 2 hours ago | parent | prev [-]

That's also a good test for chatbots: give it a picture and ask it to write a shadertoy demo that make this picture a 3d animation. So far the results are meh.