Closed anan1213095357 closed 2 months ago
How can I clone materials onto another model? I tried using
var pass = new MaterialPass(); material.Passes.Add(pass); pass.Parameters.Set(MaterialKeys.DiffuseValue, color); pass.Parameters.Set(MaterialKeys.EmissiveValue, color); pass.Parameters.Set(MaterialKeys.EmissiveIntensity, emissiveIntensity);
The material of the object will turn black
Question and/or Comment
How can I clone materials onto another model? I tried using
The material of the object will turn black