|
|
On 25 Jan 2008 07:37:31 -0500, Warp <war### [at] tagpovrayorg> wrote:
>scott <sco### [at] laptopcom> wrote:
>> Uh - you can already do this can't you? just take out the "overlay" keyword
>> and it works!
>
> No, because a later texture definition will not modify an existing one.
Scott is partially right. This works...
#declare p_PartiallyClearPigment =
pigment {
granite
color_map {
[0 rgbf 1]
[1 rgb <1,0,0>]
}
}
#declare o_PreviouslyTexturedObject =
sphere {
x/2, 0.5
pigment { rgb <0,1,0> }
}
object {
o_PreviouslyTexturedObject
texture {
pigment { p_PartiallyClearPigment }
//overlay
}
}
... but it will not work with more complex objects.
Post a reply to this message
|
|