Vijay Kumar Posted May 8, 2016 Share Posted May 8, 2016 Hi, i have exported a scene from unity contains a cube, ground and directional light. but the shadows are not smooth, some curves are coming at edges. Please anybody help me making shadow more perfect. Quote Link to comment Share on other sites More sharing options...
Temechon Posted May 9, 2016 Share Posted May 9, 2016 Hello, Did you read this article : http://doc.babylonjs.com/tutorials/Shadows Did you try this: shadowGenerator.useBlurVarianceShadowMap = true; Quote Link to comment Share on other sites More sharing options...
cartman Posted May 9, 2016 Share Posted May 9, 2016 agreed with Temechon. Please also post a playground link, we can definitely help! Quote Link to comment Share on other sites More sharing options...
Vijay Kumar Posted May 11, 2016 Author Share Posted May 11, 2016 Thanks Telechon http://www.babylonjs-playground.com/#1RKHHS#10 In some angle still i am having that issue .But it is far good after using shadowGenerator.useBlurVarianceShadowMap = true; One more help is there any way to decrease the brightness of the light on the mesh. Quote Link to comment Share on other sites More sharing options...
adam Posted May 11, 2016 Share Posted May 11, 2016 The way that I deal with this is by changing the intensity of the light or the specular color of the material. http://www.babylonjs-playground.com/#1RKHHS#11 NasimiAsl 1 Quote Link to comment Share on other sites More sharing options...
Vijay Kumar Posted May 12, 2016 Author Share Posted May 12, 2016 Thanks Adam 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.