Jump to content
  • 0
cassius

fog mode

Question

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->SetFOV(60.0f);
cam->SetZoom(1);
cam->SetRange(0.1f, 500.0f);

cam->SetFogColor(0.7f, 0.7f, 0.7f, 1.0f);
cam->SetFogAngle(5.0f, 20.0f);
cam->SetFogMode(true);
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.

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