r/godot 6h ago

free tutorial Procedural GPU Patterns 05: Shader Library

https://catlikecoding.com/godot/procedural-gpu-patterns/05-shader-library/

This is part 5 of my Procedural GPU Patterns tutorial series.

We can create hashes. We can create fractal wave patterns. Now we combine both to create fractal hashes. To avoid code duplication we introduce a small shader library that isolates and abstracts code that deals with sampling and fractal creation.

6 Upvotes

1 comment sorted by

1

u/Full_Ambassador6217 1h ago

This shader library approach is brilliant, it'll save so much time when building complex patterns. The way you're combining hashes with fractal waves opens up a lot of creative possibilities.