gadget Posted October 28, 2014 Share Posted October 28, 2014 the default background color of a scene is blue, I want to change it to white, or sothing else, how to do this? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted October 28, 2014 Share Posted October 28, 2014 scene.clearColor = new BABYLON.Color3(1, 0, 0); Stephen Andrews 1 Quote Link to comment Share on other sites More sharing options...
gadget Posted October 29, 2014 Author Share Posted October 29, 2014 thanks.I think this should be written in the basic tutorial article, for newbies like me. Quote Link to comment Share on other sites More sharing options...
joshcamas Posted October 29, 2014 Share Posted October 29, 2014 I agreed, so looked to add it to the wiki... and found that it's already there, in the Environment section! I think this needs to be made more obvious. :3 Quote Link to comment Share on other sites More sharing options...
Stephen Andrews Posted October 29, 2014 Share Posted October 29, 2014 Added a line in the example code here: https://github.com/BabylonJS/Babylon.js/wiki/01---Basic-scene GameMonetize 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.