gamecreator Posted June 22, 2017 Share Posted June 22, 2017 Are the fog commands Lua only? They're not in camera.h and aren't recognized in Visual Studio. I'm on 4.4 default and the project is updated. Minor sidenote: if you search fog in the search box in documentation, it brings up zero results, though I know it's documented under camera. Quote Link to comment Share on other sites More sharing options...
reepblue Posted June 22, 2017 Share Posted June 22, 2017 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. 1 Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon! Link to comment Share on other sites More sharing options...
gamecreator Posted June 22, 2017 Author Share Posted June 22, 2017 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. Quote Link to comment Share on other sites More sharing options...
Josh Posted June 22, 2017 Share Posted June 22, 2017 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. 3 Quote 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 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.