10 Comments
User's avatar
Scott Ashton's avatar

Nucleus is my favorite. But they’re all so beautiful!

Nucleus reminds me a lot of VFX I see in games, like a swirling ball that casters throw.

Is this fragment shader approach appropriate though for use in games or is a particle emitter approach probably better? I know it would be unconventional for sure, but I do wonder if it would work!

Expand full comment
Xor's avatar

These use a lot of raymarching iterations which is expensive, but with some modifications it should be possible to achieve a similar effect

Expand full comment
Philpax's avatar

Love these :)

Would it be possible to add twi.gl links to the shaders in this article, so we can see them rendered without compression?

Expand full comment
Xor's avatar

Thanks! Demo links have been added!

Expand full comment
Jody Bardman's avatar

This is great! I wondered why you coded the way you did in Shadertoy. It all makes sense now that you did it for twigl. To continue, thanks for the explanations. I can mostly understand your code but I wouldn’t have a good idea how to start something like this from scratch. How do you begin developing a new shader? Do you have an idea and just keep refining it as you go? Is there any math references that you frequently use?

Keep up the good work!

Expand full comment
Xor's avatar

Hey Jody, thanks!

I wrote in more detail about my process here

https://mini.gmshaders.com/p/modeling-the-world

Here are some of my favorite math tricks

https://x.com/XorDev/status/1783857571972976744

Expand full comment
Frostbyte's avatar

Been following your work for a while and understand most of these shaders. It is nice to see the thought process behind it and fully grasp the reasoning.

Expand full comment
Xor's avatar

Thanks! Glad you liked it!

Expand full comment
Borja Morales's avatar

Great write-up!

Expand full comment
Larry Quantz's avatar

Whenever I see one of those minimized shaders I just shake my head and wonder how anyone makes sense of them; I sure can't!

Expand full comment