advanced

#21 Domain Warping

FBM-based coordinate distortion for organic effects

Domain warping feeds the output of one noise function back as the input coordinates of another. By computing fbm(p + fbm(p + fbm(p))), you layer distortions that create swirling, marble-like organic patterns. The trick is that each layer of FBM shifts the coordinates before the next evaluation, producing complex structure from simple noise.

Key Concepts

Try this shader live in the Shader Sandbox editor with real-time preview.
Open in Sandbox

Source Code


    
← Previous Post Processing Next → Reflections

All Tutorials