]> git.mxchange.org Git - simgear.git/commit
Add a method to SGCloudLayer to set overall cloud alpha. This gives us the
authorcurt <curt>
Tue, 11 Jan 2005 15:21:58 +0000 (15:21 +0000)
committercurt <curt>
Tue, 11 Jan 2005 15:21:58 +0000 (15:21 +0000)
commit01608b7e18c83cafdd362a5d49580be670a46ee0
treeb83595db432954ce52a031ed94b04af115a4ea16
parenta5f0e0395a57b509b4c2b8fd617d43031d59bbc4
Add a method to SGCloudLayer to set overall cloud alpha.  This gives us the
capability to slowly fade a cloud layer in or out.

We use this effect in combination with lowering visibility as we approach
a cloud layer to hide the fact that it is simply a 2d textured polygon being
drawn across the sky.
simgear/scene/sky/cloud.cxx
simgear/scene/sky/cloud.hxx
simgear/scene/sky/sky.cxx