clipka wrote:
> See povray.bugreports
>
>
> ------------------------------------------------------------------------
>
The shadows seem to work with both methods:
PNG with internal alpha channel or by using pigment_pattern -
the way I do prefer, because you can add specular highlights:
#local Leaf_1_opaque = texture {
uv_mapping
pigment {P_Leaf}
normal {N_Leaf}
finish {
ambient 0 diffuse 0.9
specular 0.1 roughness 0.1
}
}
#local Leaf_1_trans = texture {
uv_mapping
pigment {P_Leaf transmit 1}
normal {N_Leaf}
finish {
ambient 0 diffuse 0.9
specular 0.0 roughness 0.1
}
}
#declare T_Leaf_1 = texture {
uv_mapping
pigment_pattern {A_Leaf1}
texture_map {
[0 TA03_Leaf_1_trans]
[1 TA03_Leaf_1_opaque]
}
}
But as soon as you add media or fog the transparent parts become
partial visible in 3.7 beta, see the attached shrub. This happens
also with both methods.
Post a reply to this message
Attachments:
Download 'testleaf.jpg' (27 KB)
Download 'testshrub.jpg' (52 KB)
Preview of image 'testleaf.jpg'
Preview of image 'testshrub.jpg'
|