Another approach for Tutorial 14, Transmittance

Matthew Vitelli provided me with another approach to the transmittance technique.
What he is doing is to compute the transmission specially for each object. This would allow you to have specialized Du and C components for each object and also reduces the memory usage on the GPU, as well as the pixel overdraw which comes from computing transmission as a fullscreen quad. He has modified the 2-layer transmission approach to include these features. Now, only three render-targets are created in total (1 for near-back face depth, the other 2 for far depth) and each are of half-single (16-bit) precision. The position reconstruction technique works excellently with this. Also, the benefit of doing transmission outside of a post-process lets you have specialized parameters for each object.

Matthew Vitellis technice can be found here: Executable + Source
Thanks again for shareing this with me, and the readers of my blog!
This entry was posted in XNA Shader Tutorial. Bookmark the permalink.

3 Responses to Another approach for Tutorial 14, Transmittance

  1. heavisideswacka says:

    is there an updated version of this that uses depthstencil state instead of DepthStencilBuffer, which doesnt seem to exist in xna 4?

  2. simonjohnroberts says:

    This is now old history. Sadly. Killing the stencil buffers previous implementation really nerfed a lot of the better examples out there. Hey ho.

  3. Hi, these XNA tutorial are quite old but still useful, thanks.
    Unfortunately, many download links are broken so could it be possible to get them fixed please ?
    Or maybe a big bundle of all tutorials sources (including other people approach as all links from* are dead)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.