zhutq Posted December 15, 2017 Share Posted December 15, 2017 Hi, I get weird shadow for my imported mesh: https://www.babylonjs-playground.com/#DCU3PP#3 Here is a stl version: https://www.babylonjs-playground.com/#DCU3PP#2 Any ideas how to fix it? Thank you very much! Quote Link to comment Share on other sites More sharing options...
brianzinn Posted December 15, 2017 Share Posted December 15, 2017 "backFaceCulling":falsehttps://www.babylonjs-playground.com/#DCU3PP#4 Look at the normals of your faces to see if that is the issue. GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
zhutq Posted December 15, 2017 Author Share Posted December 15, 2017 Thank you! Setting backFaceCulling to false does fix the problem. At the same time I found it's actually because the light's position is too low to cover the whole mesh... my bad. This works without changing backFaceCulling: https://www.babylonjs-playground.com/#DCU3PP#9 Thank you all! brianzinn 1 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.