piltrafa Posted December 13, 2016 Share Posted December 13, 2016 Tried to create minimal example, shadow generated looks wrong, also if you rotate it around you can see weirdness in the shadow http://www.babylonjs-playground.com/#MKF8U Also, the position where the spot is illuminating is very close to the camera position, I think the shadow should be cast behind the object but looks like is being cast in front of it? Tried also similar scene when the light is not parented by the camera and also got some shadow weird artifacts, doesn't look like the parent relationship has to do with the weirdness Any idea how to get the shadow properly? Quote Link to comment Share on other sites More sharing options...
X3MC2 Posted December 13, 2016 Share Posted December 13, 2016 Parenting the light to the camera was the issue. http://www.babylonjs-playground.com/#MKF8U#2 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.