Jump to content
  • 0

fog mode


When I set fog mode to true in editor the effect does not show up in game.. Is this intended? Using c++. Do I have to code it?

Share this post

Link to post

4 answers to this question

Recommended Posts

  • 0
auto cam = Camera::Create();

cam->SetRange(0.1f, 500.0f);

cam->SetFogColor(0.7f, 0.7f, 0.7f, 1.0f);
cam->SetFogAngle(5.0f, 20.0f);
cam->SetFogRange(2.0f, 30.0f);


Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   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.

  • Create New...