Caelum Clouds

Teknoman117

29-06-2010 05:21:25

Well as I was working on my game I realized that I couldn't figure out how to modify the clouds in Caelum. I think it would be appropriate to have gray, stormy skies when it is raining and the basic clear sky when not. How do you modify the cloud systems in Caelum?

Fish

30-06-2010 15:01:02

Cloud density can be controlled with:

// You'll need to choose an appropriate cloud layer.
int cloudLayer = 0;

// cloudDensity is a value from 0 to 1.
float cloudDensity = 0.5f;

mCaelumSystem->getCloudSystem()->getLayer(cloudLayer)->setCloudCover(cloudDensity);


- Fish

Teknoman117

30-06-2010 23:07:36

Thank you. By the way, does anyone know if Caelum any time soon will support 3D clouds or if it does already?