Message 1 of 6
twoSided material
Not applicable
06-19-2016
12:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
i made face and add material to it and need to made material twosided (front and back take same material)
fn drawRoof vertices =
(
obj = convertToPoly (mesh vertices:vertices faces:#())
polyOp.createPolygon obj #(1,2,3,4)
img_path = "C:\Users\Abdo\Desktop/roof.jpg"
mat=standardmaterial();
mat.diffuseMap = bitmapTexture filename:(img_path)
showtexturemap mat true
/*
uvw to adjust texture mapping
*/
polyop.applyUVWMap obj \
#face \
mat.twosided=on
obj.material=mat
obj.extrudeFaces .02
)
but result as in image
how can i solve this
