Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

Cascade Shadow Mapping - Solving oversampling on distant cascades


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Scoob Droolins   Members   -  Reputation: 233

Like
0Likes
Like

Posted 12 September 2012 - 10:11 AM

Using CSM with real depth textures (D24X8) and HW PCF, how is the issue of oversampling in the farther cascades solved? This is solved with MIPs and anisotropic filtering for standard color maps. But with depth maps, you can't create MIPs (except manually) and you can't autogen MIPs. Is the only solution, short of VSM, to dump HW PCF and go with FP24 or FP32 textures, which allow autogen of MIP levels?

Ad:

#2 MJP   Moderators   -  Reputation: 5417

Like
0Likes
Like

Posted 12 September 2012 - 01:38 PM

Even if you did generate mipmaps they wouldn't be useful, since in general filtering depth isn't useful when using it for for shadow comparison. What you really want is to compute the shadow occlusion value and filter that, but that's not really practical. VSM kind of works around this using a probabilistic model for determining shadow occlusion, where the value stored in the shadow maps (moments of a distribution of depth values) can be prefiltered and still have meaningful results.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS