MackeyK24 Posted May 31, 2018 Share Posted May 31, 2018 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??? Quote Link to comment Share on other sites More sharing options...
Guest Posted May 31, 2018 Share Posted May 31, 2018 You have to read this first: http://doc.babylonjs.com/babylon101/shadows Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.