
SDF Soft Shadows
Extending SDF raymarch to allow soft shadow
Extending SDF raymarch to allow soft shadow
Create shadows using Mesh Distance Field (MDF)
A week ago, I managed to generate SDF textures for some arbritary model using compute shader. However passing a lot of 3D textures to the shader is not that easy, especially if we have many objects...
I have managed to generate the SDF in compute shader. It can calculate 64x64x64 very fast and is a very large timesaver, although it can be quite hard to debug if there are issues during the genera...
While working on the generation of 3d texture SDF on fragment shader, I decided to finish the raymarch SDF on gpu first. I just finished it, so it should still contain some bugs. Will look into it ...
Since generating the SDF in CPU is quite slow, we’re going to move the generation of the SDF 3D Texture to the GPU. I will 1e using the compute shader to do this, while also trying to learn how to ...
In SDF exploration pt 1, I mentioned that using dot(faceNormal, sdfPoint) doesn’t work that well to determine the sign of the SDF. I am changing the idea to trace upwards from sdfPoint. If interse...
I’ve been wanting to explore this idea of creating shadows using raymarch + 3D texture (contains SDF information of a triangle mesh). This will replace the conventional shadow mapping method when t...
Hello World! I hope I can start writing stuff…