GTD Light Scattering Sample Updated

Update to the light scattering sample is now available for download. The technique demonstrated in the original sample was capable of rendering directional light source only. This sample shows how the base approach can be extended to support spot and point light sources. Similar to the base approach, the algorithm exploits epipolar sampling and 1D min/max binary trees to accelerate ray marching. The main difference to the base algorithm is that there is no closed form solution to the in-scattering integral due to a spot/point light source. To alleviate computations, the technique exploits simple and efficient pre-computed look-up table.

The sample source code is also available on GitHub. The presentation from my GDC 2013 talk thoroughly describes the technique. 

For more complete information about compiler optimizations, see our Optimization Notice.



Yes, this supposed to be a video... I do not know why it is not working...

Yeah, It's a fantastic demo! And thanks for the binary files.

I assume you wanted to insert a video in the post, didn't you?

Add a Comment

Have a technical question? Visit our forums. Have site or software product issues? Contact support.