About Store Forum Documentation Contact



Post Reply 
Environment tool and clouds
Author Message
RedcrowProd Offline
Member

Post: #1
Environment tool and clouds
Hey,

here is my little problem:

i set a enviroment like normal :
if(Game.World.settings().environment)Game.World.settings().environment->set();
and my world contains this "environment" created with EE.

but i cant seems to get ride of the cloud layer

and it draws those clouds every time i use the Renderer() fonction even when the world is deleted, env. cache deleted.

am i missible something ?
(This post was last modified: 05-15-2016 08:07 AM by RedcrowProd.)
05-15-2016 06:05 AM
Find all posts by this user Quote this message in a reply
Pixel Perfect Offline
Member

Post: #2
RE: Environment tool and clouds
Do you have a Clouds.layered.set function hard coded in your code after the environment->set() function?
05-15-2016 07:38 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #3
RE: Environment tool and clouds
Setting environment sets "Clouds" global parameter.
Deleting environment does not modify Clouds.
You need to operate on Clouds.
Clouds.layered.set(0); // to remove clouds

Or set another environment, that does not have clouds.
05-16-2016 12:46 AM
Find all posts by this user Quote this message in a reply
RedcrowProd Offline
Member

Post: #4
RE: Environment tool and clouds
oh ok i see, thanks for the clarification smile

yeah that got ride of it smile
(This post was last modified: 05-16-2016 01:24 AM by RedcrowProd.)
05-16-2016 01:22 AM
Find all posts by this user Quote this message in a reply
Post Reply