Question by
gogobobbygogo · Apr 20, 2020 at 08:52 AM ·
colormaterialsdebug
Changing Shared Material causes lighting to break
I'm still getting used to the whole shared material thing, and this is one of the hurdles I've found. Basically, I've set up a thing to change an object's shared material color during runtime, and instead of just changing the color, it becomes white and removes the lighting from the object. Here's what I mean: Another weird thing is that if the saturation of the material is set to exactly 255, the object becomes Cyan, Magenta, or Yellow, depending on what color it's closest to. I'm using the default material, so this is a pretty weird thing.
lighting1.png
(154.9 kB)
lighting2.png
(220.0 kB)
Comment