|
![](/i/fill.gif) |
I've never done this before, so I'm probably doing it all wrong, but here's
my problem:
I'm doing a sky which has 3D clouds (an height_field turned upside down, and
put in the sky) and I want the colour of it to go from 'white to gray,
gradient y' in the foreground to 'gold to gray, gradient y' in the
background, to simulate the early morning sun lighting up the bottoms of the
clouds. Heres the code, what's wrong?
#declare cloudsfore = pigment
{
gradient y
color_map
{
[0.00 color rgb <1, 0.8, 0> transmit 0.1]
[0.50 color rgb 0.8 transmit 0.1]
[0.98 color rgb 0.8 transmit 1.0]
}
scale 2.063
}
#declare cloudsback = pigment
{
gradient y
color_map
{
[0.00 color rgb <0.9, 0.5, 0.0>+White*0.4 transmit 0.1]
[0.50 color rgb 0.8 transmit 0.3]
[0.98 color rgb 0.8 transmit 1.0]
}
scale 2.063
}
#declare Clouds = texture
{
pigment
{
gradient z
pigment_map
{
[0.00 cloudsfore]
[1.00 cloudsback]
}
scale <1,1,500>
}
}
Thanks a lot : )
--
Alan Grainger
Member of DNRC
E-mail - scy### [at] geocities com
Homepage - http://alansworld.home.ml.org
Post a reply to this message
|
![](/i/fill.gif) |