|
|
Greetings.
Is there any way to define transparency of a gray-shade image_map as
follows: the blacker the more transparent, and the whiter the more visible?
I want to add lights to a planet surface. The lights are a gray-shade PNG
file.
Thanks,
Sven
Post a reply to this message
|
|
|
|
Wasn't it Sven Littkowski who wrote:
>Greetings.
>
>Is there any way to define transparency of a gray-shade image_map as
>follows: the blacker the more transparent, and the whiter the more visible?
>
>I want to add lights to a planet surface. The lights are a gray-shade PNG
>file.
texture {
pigment_pattern {image_map {png "transmap.png" interpolate 2}}
texture_map {
[0 texture {pigment {rgbt <0,0,0,1>}}]
[1 texture {lightsTexture}]
}
}
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
|