Ray Marching, and making 3D Worlds with Math
VloĆŸit
- Äas pĆidĂĄn 28. 08. 2022
- Built this entire video on raymarching in shaders using shaders, ray marching, and signed distance functions.
đ Recommended books (on Amazon): www.amazon.com/hz/wishlist/ls...
â€ïž Support me on Patreon: / simondevyt
đ My Gamedev Courses: simondev.teachable.com/
Disclaimer: Commission is earned from qualifying purchases on Amazon links.
Follow me on:
Twitter: / iced_coffee_dev
Instagram: / beer_and_code
In this video, I cover ray marching and some of the cool stuff you can do with it in shaders. We cover basic scene construction, unions/intersections/subtractions, doing smooth minimums, normal generation and soft shadows, and anything else that seems kinda neat about the technique.
Ray Marching: en.wikipedia.org/wiki/Ray_mar...
Great Resource for Ray Marching and SDF's: iquilezles.org/
Smooth Maximum: en.wikipedia.org/wiki/Smooth_...
Patrons can now vote for the next video! Thank you for your support.
Iâve actually been working on a graphics engine using signed distance fields as primitives instead of triangles for ~2 years now - super hyped to see it become more and more mainstream recently :D
For the first time I understood what this magic "ray marching" is and how it works. You are good at explaining things
Great video, but small correction on a common misconception: Ray marching is just doing raytracing but numerically (so instead of having an equation tell you how far you need to go, you just go in small steps and check if you are inside a shape at any point), it doesn't necessarily involve SDFs (e.g. screenspace reflections also use raymarching, but not SDFs). The special name for this is sphere tracing.
I remember this blend mechanic being used in a Valve tech demo from around 2003 where they made blobs able to combine and melt together like here.
I've seen a lot of videos about raymarching before, but this is the first time I've "gotten it". The graphics you used to explain it make so much sense.
It's great to see more content like this. Loved your explanation of the central differences method.
Your vids are so incredibly good! I always get excited when a new one comes out. Pure gold!
Amazing video, well done on the explanations! The 3D scene really helps to understand, maybe explaining a bit more the code part would be even better
Wonderful Simon, came here from another one of your shader vids, mind-blown that you made the actual video using ray-marching, now picking jaw up from table
I have started the glsl course a couple weeks back and am learning so much! Thank you!!
Nice video! I love playing with SDFs too.
I like the explanation! I'm working on my own ray marching based graphics engine right now and, while your demo here is far more polished, I'm getting places.
Now THIS is how you sell a course.
Nice stuff, nice explanation, nice voice. Love it
I purchased your course. You really explain things well!
This is really a cool video, the way objects transition between frames are just amazing! Wondering how that could be made.
I love your editing & teaching style! Thank you for making such informative and fun content for free ^_^
That's an amazing video Simon, thanks a lot for sharing your knowledges with us !
this was the single coolest video I've seen on CZcams for a while