From c58d504dbf9747f1b597b0b310dae24936203e5b Mon Sep 17 00:00:00 2001 From: Stuart Buchanan Date: Sat, 8 Oct 2011 19:38:58 +0100 Subject: [PATCH] Temporary fix to the 3D cloud shader while we sort out the co-requisite simgear changes. --- Shaders/3dcloud.vert | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Shaders/3dcloud.vert b/Shaders/3dcloud.vert index 001e2dfc8..16d26551c 100644 --- a/Shaders/3dcloud.vert +++ b/Shaders/3dcloud.vert @@ -15,9 +15,9 @@ float wScale = usrAttr1.b; float hScale = usrAttr2.r; float shade_factor = usrAttr2.g; float cloud_height = usrAttr2.b; -float bottom_factor = usrAttr3.r; -float middle_factor = usrAttr3.g; -float top_factor = usrAttr3.b; +float bottom_factor = shade_factor; +float middle_factor = 1.0; +float top_factor = 1.0; void main(void) {