I want to change the finish of my object based on a uv mapped image file.
So far I have this, but it doesn't work. The syntax is wrong.
texture{
image_pattern{uv_mapping jpeg "shinny.jpg"} ??? how do I do uv mapping
here
texture_map{
[0.0 pigment uv_mapping image_map{jpeg "texture.jpg" interpolate 2}}
finish{specular 0.15 roughness 0.1 metallic}]
[0.85 pigment uv_mapping image_map{jpeg "texture.jpg" interpolate 2}}
finish{specular 0.15 roughness 0.1 metallic}]
[1.0 pigment uv_mapping image_map{jpeg "texture.jpg" interpolate 2}}
finish{specular 0.15 roughness 0.0005 metallic}]
}
}
Is image_pattern the correct way to do this or should I use something else?
Post a reply to this message
|