• Advertisement
Sign in to follow this  

[D3D11] MSAA Color vs Depth Differences for Shadow Mapping

This topic is 1466 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

When I'm rendering VSM/ESM to color multisampled targets I'm getting some pretty severe numerical stability issues, flickering white blocks of pixels inside the shadow regions. There's no issue when constructing the VSM or ESM from a multisampled depth buffer.

 

It took a good amount of searching to track down any reason for this, but it sounds like multisampled color render targets are having some gamma correction applied behind the scenes?  I wasn't able to find any info about this in the d3d docs, or really anywhere except for some random slides. Is this the case? If so is there a way to disable this or any way I can set the formats to avoid it?

 

Ideally I would like to use normalized distance to light as my depth and there's a small performance hit having to build the VSM in separate pass.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement