Skip to main content
edited title
Link
user1430
user1430

Trouble with DiffuseColor in XNA Why does changing the diffuse color of my model's effect change it for all models?

Source Link

Trouble with DiffuseColor in XNA

I want to change color of individual model in my game. But when I use

effect.DiffuseColor = newColor

then all of models which were loaded from same model file change color too.

How can I do ?