1
0
Fork 0

Temporary fix to the 3D cloud shader while we sort

out the co-requisite simgear changes.
This commit is contained in:
Stuart Buchanan 2011-10-08 19:38:58 +01:00
parent c0bebf5404
commit c58d504dbf

View file

@ -15,9 +15,9 @@ float wScale = usrAttr1.b;
float hScale = usrAttr2.r; float hScale = usrAttr2.r;
float shade_factor = usrAttr2.g; float shade_factor = usrAttr2.g;
float cloud_height = usrAttr2.b; float cloud_height = usrAttr2.b;
float bottom_factor = usrAttr3.r; float bottom_factor = shade_factor;
float middle_factor = usrAttr3.g; float middle_factor = 1.0;
float top_factor = usrAttr3.b; float top_factor = 1.0;
void main(void) void main(void)
{ {