Andy Gilbert Posted September 6, 2013 Share Posted September 6, 2013 Hi can I set the background color of my project? Its black and ide like it grey, i have tried adding: local color = self.context:GetColor() color.r = 0.6 color.g = 0.6 color.b = 0.6 self.context:SetColor(color) self.context:Clear() In app script will no luck, so tried in other areas, before render, after render, but update world, in the loop at the start but no luck? Thanks Andy Quote The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do. Leadwerks Game-Ready 3D Models:https://sellfy.com/gib3d Link to comment Share on other sites More sharing options...
shadmar Posted September 6, 2013 Share Posted September 6, 2013 Use camera::SetClearColor Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
Andy Gilbert Posted September 6, 2013 Author Share Posted September 6, 2013 Thanks shad. Andy Quote The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do. Leadwerks Game-Ready 3D Models:https://sellfy.com/gib3d Link to comment Share on other sites More sharing options...
beo6 Posted September 6, 2013 Share Posted September 6, 2013 can i also use a texture instead of a color somehow? (Sorry that i ask it again) Quote Link to comment Share on other sites More sharing options...
gamecreator Posted September 6, 2013 Share Posted September 6, 2013 You can use a skydome like here. If you want just a single, static texture then I'm not sure how that would be done. Quote Link to comment Share on other sites More sharing options...
shadmar Posted September 6, 2013 Share Posted September 6, 2013 You can also use a cubemap (skybox) like this : http://www.leadwerks.com/werkspace/topic/7452-skybox-in-30-a-simple-example-with-shader/ Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
beo6 Posted September 6, 2013 Share Posted September 6, 2013 ok. thanks. 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.