DaveWortley
06-30-2010, 04:12 PM
Simpliflied example....
fn thefunction m =
(
Replaceinstances m (VrayMtl())
m.texmap_opacity = checker
)
thefunction scenematerials[1]
Error:
thefunction()
-- Error occurred in thefunction()
-- Frame:
-- m: Standardmaterial:Standard
-- Unknown property: "texmap_opacity" in Standardmaterial:Standard
OK
I've replaced my standard material with a Vray material in the function but on the next line it thinks the material is still a Standardmaterial when infact it's a Vray mat.
Confused....
fn thefunction m =
(
Replaceinstances m (VrayMtl())
m.texmap_opacity = checker
)
thefunction scenematerials[1]
Error:
thefunction()
-- Error occurred in thefunction()
-- Frame:
-- m: Standardmaterial:Standard
-- Unknown property: "texmap_opacity" in Standardmaterial:Standard
OK
I've replaced my standard material with a Vray material in the function but on the next line it thinks the material is still a Standardmaterial when infact it's a Vray mat.
Confused....
