RedcrowProd
Member
|
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 |
|
Pixel Perfect
Member
|
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 |
|
Esenthel
Administrator
|
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 |
|
RedcrowProd
Member
|
RE: Environment tool and clouds
oh ok i see, thanks for the clarification
yeah that got ride of it
(This post was last modified: 05-16-2016 01:24 AM by RedcrowProd.)
|
|
05-16-2016 01:22 AM |
|