Jump to content
  • Advertisement
Sign in to follow this  
theagentd

EVSM artifacts at depth discontinuations

This topic is 1924 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

Hello!

I'm getting artifacts that seem to be related to increasing the exponent coefficient (C) in exp(c*depth) and -exp(-c*depth). The more I increase it, the bigger the artifacts seem to get. The artifact became much more apparent when I added a 5x5 gaussian blur to it. I believe I've seen the same artifact in an article about Exponential shadow maps (ESM, not EVSM).

 

Here's an image of multiple instances of the artifact:

javaw2013040822244042.png

 


Here's how it look with normal shadow mapping and PCF filtering:

javaw2013040822243962.png

 

 

Is this a known problem of E(V)SMs? Can it be solved? Maybe it's only noticeable due to the extremely aligned geometry I have? I really don't understand much of the math behind all this, but I'll try to find the ESM article that solved a similar problem...

Share this post


Link to post
Share on other sites
Advertisement

Damn it. Sorry, it was a bug on my end. My copied blur shader only blurred RGB, rendering the -exp(-c*depth) warp useless... Nothing to see here... ._.

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!