Rendering Shadows: Difference between revisions

 
(One intermediate revision by the same user not shown)
Line 22: Line 22:


The idea here is to approximate each blocker object as a set of spheres. For any receiver point and each spherical blocker, we can compute a SH approximation of the light blocked. Then the SH coefficients can be added together to get compute the non-occluded light.
The idea here is to approximate each blocker object as a set of spheres. For any receiver point and each spherical blocker, we can compute a SH approximation of the light blocked. Then the SH coefficients can be added together to get compute the non-occluded light.
===SDF===
See https://iquilezles.org/articles/rmshadows/ to render shadows using raymarching if your scene can be represented as a signed distance field.


==Ambient Occulusion==
==Ambient Occulusion==


==References==
==References==