Temporary fix to the 3D cloud shader while we sort
out the co-requisite simgear changes.
This commit is contained in:
parent
c0bebf5404
commit
c58d504dbf
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue