|
![](/i/fill.gif) |
:
: global_settings {
: assumed_gamma 0.5
: radiosity {}
: }
:
: camera {location -z look_at 0}
:
: box {
: <-.5, -0.1, 0> <.5, .1, 1>
: pigment {
: gradient x
: color_map {
: [0, rgb 0 ]
: [1, rgb 0.0119*2 ]
: }
: translate -.5*x
: }
: finish{diffuse 0 ambient 1}
: }
Changing diffuse also moves the edge. Smaller diffuse values push it to
the right until the edge can't be seen. If you increase the amount of
color the edge is visible again eg. rgb <0, 0.1, 0> and diffuse 0.5, rgb
<0, 1, 0> and diffuse 0.05, rgb <0, 10, 0> and diffuse 0.005.
Ari-Matti
Post a reply to this message
|
![](/i/fill.gif) |