Heres an example of what I meant... #include "colors.inc" camera { location <5, 5, -10> look_at <0, 0, 0> } light_source {<200, 1000, -400> White} #declare myObject = box { <-1,-1,-1>, <1,1,1> }; #declare texture1 = texture { pigment { Red } }; #declare texture2 = texture { pigment { White } }; #declare myTexture = texture { object { myObject texture { texture1 } texture { texture2 } } }; box { <-2,-2,-2>, <0,0,0> texture { myTexture } }
Post a reply to this message