I will show you how to plot various SDFs function to render primitive shapes like sphere, cube, capsule, cylinder and a torus for ray marching / sphere tracing shader for Godot 4.2.
Buy Cosmic roads on steam!
Previous episode!
Shader file!
Shader-Lib addon!
Shader-Lib docs!
Consider supporting the channel!
Chapters!
00:00 Intro
00:38 Recap
04:01 Box
07:31 Torus
09:57 Capsule
13:56 Cylinder
18:21 Outro
Cheers!
#GodotEngine #shaders #RayMarching #tutorial #howto #gamedev