I created a material using below code:
But the mtl created by above code is not similar to the vraymtl created manually (please see image below)
How can I fix this?

Code:
context = VRay::Context.active scene = context.scene scene.change{ my_material_plugin = scene.create(:MtlSingleBRDF, '/MyMaterialPlugin') my_material_plugin[:brdf] = scene.create(:BRDFVRayMtl, '/vray') }
How can I fix this?
Comment