AlinC Posted October 28, 2016 Share Posted October 28, 2016 In http://playground.babylonjs.com/?15 it appears that setting light.position has no effect. I made http://playground.babylonjs.com/#AX6IZ and the same. What am I missing? Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted October 28, 2016 Share Posted October 28, 2016 Try a SpotLight. Directional light has no origin, I believe. Quote Link to comment Share on other sites More sharing options...
AlinC Posted October 28, 2016 Author Share Posted October 28, 2016 I think you're right. In the shadow tutorial position maybe is used for lightSphere to see where the light is coming from. 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.