|
|
I tried it exactly the way you described (Color 0 is Red in my image, and I am
sure 0 is the index I want.).
Please view the following post to 'Re: Q: Image-Maps in Layered Textures' by Steve
for the original code that does not work.
Thanks,
Hendrik Iben
Bob Hughes wrote:
> You can't get a transparent palette entry which is set in a image program to
> show up as transparent in POV-Ray unless you use the 'transmit' keyword. Such
> as:
>
> #declare t_image=texture{pigment{
> image_map {gif "yourimage.gif" transmit 0,1} // index #0, transmit 1
> }}
>
> my_texture =
> texture { t_ground }
> texture { t_image }
>
> The once keyword is only for non-tiling. Be certain of your palette index
> number/color relation too. Black might not always be 0.
>
> Bob
Post a reply to this message
|
|