]> git.mxchange.org Git - simgear.git/commitdiff
Fix the box like cloud layer appearance
authorehofman <ehofman>
Sun, 31 Aug 2003 09:23:48 +0000 (09:23 +0000)
committerehofman <ehofman>
Sun, 31 Aug 2003 09:23:48 +0000 (09:23 +0000)
simgear/scene/sky/cloud.cxx

index b098f39855cbc667dd35b524735b718894469141..1f62b7cda77ab8804bd03fd7a076662a32fe9015 100644 (file)
@@ -194,7 +194,7 @@ SGCloudLayer::rebuild()
 
     const float layer_scale = layer_span / scale;
     const float mpi = SG_PI/4;
-    const float alt_diff = layer_asl * 1.5;
+    const float alt_diff = layer_asl * 0.8;
 
     for (int i = 0; i < 4; i++)
     {