|
|
"Chuck Roberts" <cro### [at] alleganisdorg> wrote in message
news:39C8C72D.198A452E@alleganisd.org...
| Say I have a X plane at -1 (that is horizontal). And I have the
| following fog statement.
|
| fog { fog_type 2 //Layer: Layer2
| rgb <0.620, 0.000, 0.000>
| fog_offset -1
| fog_alt 0.5 //fade away rate
| } //fog
|
| Does that mean it will be most dense at y=-1? And it gets less
| dense as it progresses upwards? (Towards the positive Y axis.) Is
| that how it works? I couldn't quite understand this from the help
| file.
Yep, and if you need it to point from the x plane, getting thinner along the
x axis toward +x you would add: up x or up <1,0,0> (this would mean -1*x
not -1*y for the offset if so done). Fog thickness is at 25% when it
reaches fog_offset+fog_alt and the background is 36.8% visible at 'distance'
you give it also (if no transparency is specified).
Bob
Post a reply to this message
|
|