In this shader tutorial, we will go over the basics of Ray Marching with Signed Distance Fields. We start by understanding the theory behind the algorithm. Then we implement a simple ray marcher in GLSL. After that, we calculate the normals and add lighting to the scene. Then we run the ray march algorithm again to calculate shadows. Finally, we learn how to blend to SDFs using the smooth union operation.
📖 Code - github.com/SuboptimalEng/shad...
🐦 Twitter - / suboptimaleng
💻 GitHub - github.com/SuboptimalEng
🌎 Website - suboptimaleng.com
== [ Resources ] ==
Ray Marching Tutorial - michaelwalczyk.com/blog-ray-m...
Inigo Quilez’s Articles - iquilezles.org/articles
The Book of Shaders - thebookofshaders.com
Simon Dev’s Shader Course - simondev.teachable.com
Intro to Phong Lighting - • Introduction to Phong ...
VS Code GLSL Shader Setup Guide - • How to Write GLSL Shad...
== [ Timestamps ] ==
00:00 Intro to Ray Marching
00:59 Ray Marching Algorithm
03:15 Coding a Ray Marcher
06:18 Add Lighting with Normals
07:47 Ray March Shadows
09:14 Blend with Smooth Union
== [ Tags ] ==
#suboptimal #glsl #shaders
Негізгі бет Ғылым және технология Introduction to Ray Marching
Пікірлер: 22