Awesome! It's awesome to see graphics content being explained so clearly. Wish you all the best.
@SuboptimalEng Жыл бұрын
Thanks, I’m glad my teaching style is helpful!
@sergeys7603 Жыл бұрын
It's a very helpful video. Thank you.
@pedrohov Жыл бұрын
Thank you so much for this! I'm trying to make a shader to simulate liquid, making small circles in a particle system seem to belong to a bigger drop of liquid when they are close to each other. I don't know if I'm making myself clear, but I think this video is putting me in the right direction, thanks!
@SuboptimalEng Жыл бұрын
Fluid simulations are always really cool, I’ve been wanting to make one for a while! Glad the video was able to help.
@cast_e899 Жыл бұрын
how would you change camera rotation?
@Sammysapphira6 ай бұрын
Translate the entire scene
@suvetar Жыл бұрын
That looks really nice and I love that it feels like there's a lot of cool things you can do with the algorithm; Blending the shapes like that is a nice looking technique too - some lovely organic surfaces possible! I'm interested to combine this technique with a varient of shell texturing ... no specific reason, I just want to play with it and see what happens - with any luck I can turn my central heating off and let my 3070 warm up the room 😀
@SuboptimalEng Жыл бұрын
If you do, you should post some demos on KZbin! Always nice to see what other graphics engineers are up to 🤓
@anirbandeshmukh9128 Жыл бұрын
Excellent tutorial!! Just one thing, I'm having an issue where if I move the sphere along the x axis, the lighting gets all messed up (if i offset the sphere to the left, the normals also point slightly towards the left, skewing the lighting in the wrong direction). If you encountered this issue as well, how did you resolve it?
@clifflin2307 Жыл бұрын
Can ray marching replace shadow mapping?
@alanwolfe9138 Жыл бұрын
yes, and some games do this! It's also useful for ambient occlusion (smaller scale shadowing), sub surface scattering, and many other things. It's a great tool in the toolbox. It isn't always the right tool, but it is a nice option to have!
@clifflin2307 Жыл бұрын
@@alanwolfe9138 which one is more efficient?
@hortonmark67936 ай бұрын
"vec3 lightDirection = normalize(lightSource);" confused me. I think it should be "vec3 lightDirection = normalize(lightSource - p);", although both i tried did the same work
@ralkey Жыл бұрын
I see a lot of these ray marching videos but I still don't understand why you would even want this? Like what are some real practical applications, does it make games faster?
@SuboptimalEng Жыл бұрын
Ray marching is a simple technique to display objects on a scene. It also has the nice properties of being able to easily calculate normals and shadows. This makes it easy to implement various computer graphics techniques and share them on the web. You can see tons of examples on Shadertoy. Shadertoy is to computer graphics engineers as LeetCode is to software engineers.