Jump to content

Production Quality RealTime Shadows


MackeyK24
 Share

Recommended Posts

Hi guys... i got a question about the default values to use for the ShadowMap generator.

These are my current default values:

            int shadowMapSize = 1024;
            float shadowMapBias = 0.00005f;
            bool shadowKernelBlur = false;
            float shadowBlurKernel = 32.0f;
            float shadowBlurScale = 2.0f;
            float shadowBlurOffset = 0.0f;
            float shadowOrthoScale = 0.5f;
            float shadowStrengthScale = 1.0f;
            float shadowDepthScale = 30.0f;

But the shadows look really poor...

First what should shadowMapSize be... seems when i set to 1024 its poor, if i make 2048 its still poor... Also if i am using 1024 with a LARGE plane (200 m x 200 m)... i dont get shadows at all.

What is the Rhyme and reason behind the shadow map generator properties to get production quality shadows???

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...