Jump to content

Fog Commands


gamecreator
 Share

Recommended Posts

Classes/Entities/Camera.h starting at line 139.

virtual void SetFogColor(const float r, const float g, const float b, const float a);//lua
virtual void SetFogAngle(const float start, const float stop);//lua
virtual void SetFogRange(const float start, const float stop);//lua
virtual Vec4 GetFogColor();//lua
virtual Vec2 GetFogAngle();//lua
virtual Vec2 GetFogRange();//lua
virtual void SetFogMode(const bool mode);//lua
virtual bool GetFogMode();//lua

Hopefully when Return To The Zone releases, they'll be fog settings in the scene panel.

  • Upvote 1

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

Link to comment
Share on other sites

Huh.  Steam\steamapps\common\Leadwerks\Include\Classes\Entities\camera.h was last updated 6/18/17, probably when I switched to beta.  And that's the file my project is using.  What the heck?  Just confirmed I'm not on beta now (NONE).

Edit: I validated the files and updated the project again and it fixed it.  Thank you.  Was some weird glitch from switch from Beta to Release.

Link to comment
Share on other sites

2 hours ago, reepblue said:

Classes/Entities/Camera.h starting at line 139.


virtual void SetFogColor(const float r, const float g, const float b, const float a);//lua
virtual void SetFogAngle(const float start, const float stop);//lua
virtual void SetFogRange(const float start, const float stop);//lua
virtual Vec4 GetFogColor();//lua
virtual Vec2 GetFogAngle();//lua
virtual Vec2 GetFogRange();//lua
virtual void SetFogMode(const bool mode);//lua
virtual bool GetFogMode();//lua

Hopefully when Return To The Zone releases, they'll be fog settings in the scene panel.

Yeah, I just didn't want to add anything to the editor at the last minute.  Will be in 4.5.

  • Upvote 3

My job is to make tools you love, with the features you want, and performance you can't live without.

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