Quadear Posted June 2, 2017 Share Posted June 2, 2017 Hello, Right now, when I'm using a standard hemispheric light, and my cube not ugly, but really simple: - the top face directly on contact with light is white - the sides faces are a bit grey-er - the bottom face is dark. http://www.babylonjs-playground.com/#7PLE56 Quite simple, hey ? Is there a way for the sides faces, instead of being grey uniformly, have a smooth gradient, whiter at the top of the face and Greyer at the bottm of it ? Should I need to change the light, the material ? How can I do that ? Thanks a lot ! Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 2, 2017 Share Posted June 2, 2017 Hey! You can change the light to be a point light and move it around: http://www.babylonjs-playground.com/#7PLE56#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.