|
|
|
graphix.fog :enable :near :far :density :color
Definition:
to graphix.fog :enable :near :far :density :color to ondrawimage output dll.graphix.fog end end |
fog "true 100 1 .......then change the far parameter (it is called 'near') until you see that the far end of your object is fogged. then change the near parameter (called 'far) untill you see the front end of your object is fogged.
make "onbeforedraw.clearcolor clearcolor 0 0 0 make "onbeforedraw.fog fog "true 33 20 0.3 rgb 0 0 0 |
make "onbeforedraw.fog fog "true 75 65 0.1 rgb 0 0 075 means that every pixel which is 75 units away from the viewer will be entirely fogged (i.e. rgb 0 0 0).
|
|
|