You can try this for general blending:
material{
texture{
pigment_pattern{ //blending pigment_pattern
uv_mapping image_map{png "map.png" interpolate 2 }scale 1.0
}
texture_map{
[0 //black -> texture 1
//insert pigment1 here
pigment{}
//insert finish1 here
finish{}
//insert normal1 here
normal{}
]
[1 //white -> texture 2
//insert pigment2 here
pigment{}
//insert finish2 here
finish{}
//insert normal2 here
normal{}
]}scale 1.0}
//insert interior here
}
You can fill in the blanks. Remove the uv_mapping if your model does not
use it.
This is what PoseRay (http://mysite.verizon.net/sfg0000/) does for the
custom POV-Ray materials.
later,
FlyerX
jhu wrote:
> i have a texture that i'm using as a bump map. but i'd also like to use it
> as as specular map. since povray doesn't support specular maps, i'm
> assuming there's a way to do this with material maps. but i'm rather at a
> loss at how this is done. any help would be greatly appreciated. thanks!
>
>
Post a reply to this message
|