Diffuse tint set in script problem

Hi everyone,

I am trying to set diffuse tint in script. This is what I expect to happen:

and this is what happened:

Simple project demonstrating problem:

Is there any way to fix this?

pc.Color uses 0-1 values, not 0-255: Color | PlayCanvas API Reference

What’s happening here is over brightening :slight_smile:


Ah, my bad. :sweat_smile: Thank you!