//metal #include "metallic.inc" //this will affect the ambient setting of the metallic paint. #default { pigment { rgb 1 } finish { diffuse 1 ambient .3 } } //generate the red/blue pigment #declare pPig = pigment { gradient x scale 2 translate -1 colour_map { [.5 rgb x] [.5 rgb z] } } sphere { 0, 1 //apply our pigment using metallic paint. m_tMetallicGloss( pPig, .6 ) } //background and stuff. plane { y, -1 } camera { right x*image_width/image_height up y direction z*1 location <1,2,-3> look_at 0 } light_source { <-1,1,-1>*10 //keep the light pretty close so we get a nice horizon. rgb 1 } sky_sphere { pigment { gradient y colour_map { [0 rgb .9] [1 rgb <0,.2,.6>] } } }