Jump to content

set background color?


Andy Gilbert
 Share

Recommended Posts

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

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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...