This tutorial guides you through the fundamentals of raymarching and space transformation, providing insight into the endless creative possibilities that this technique opens up.
Raymarching base: https://www.shadertoy.com/view/MfX3WH
Final shader: https://www.shadertoy.com/view/lcs3DH
You can now support me on Patreon!
• Patreon: https://www.patreon.com/kishimisu
If you want to see more content related to computer graphics & shader coding:
• Instagram: https://www.instagram.com/kishimisu/ (Digital Art)
• Twitter: https://www.twitter.com/kishimisu (Computer Graphics, ML, Shaders..)
Resources presented in the video:
• Shadertoy: https://www.shadertoy.com/
• Raymarching in Raymarching: https://www.shadertoy.com/view/wlSGWy
• 3D signed distance functions: https://iquilezles.org/articles/distfunctions/
• Color palette: https://iquilezles.org/articles/palettes/
• How to rotate a vector - Freya Holmér:
https://www.youtube.com/watch?v=7j5yW5QDC2U
• Quaternions and 3d rotation - 3Blue1Brown -
https://www.youtube.com/watch?v=zjMuIxRvygQ
• Inigo Quilez's channel: @InigoQuilez
• The Art of Code's channel: @TheArtofCodeIsCool
Video editing: Premiere & After Effects
Animations: Manim Community and GLSL Shaders
Note that the voice-over has been generated using AI ! (platform: ElevensLab)
The primary reason for this choice is to ensure a cleaner audio quality. As English is not my first language, it can be difficult to keep this kind of content clear and concise. I believe that the generated voice enhances the educational quality of these tutorials. With that said, this is not a definitive choice.
Timestamps:
00:00 Introduction
00:40 What’s Rasterization?
02:02 What’s Raymarching?
05:45 Shader start
08:37 Raymarching
12:35 Optimizations
15:50 Translation
17:50 Operators
19:10 Scaling
20:12 Rotation
22:10 Order of operations
22:53 Camera rotation
24:45 Space repetition
27:07 Getting Creative!
32:37 Final shader
Musics:
• massobeats - jasmine tea
• corbyn kites - dusk drive
• Music by | e s c p | escp-music.bandcamp.com