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:
https://playcanvas.com/project/829626/overview/tint
Is there any way to fix this?
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:
https://playcanvas.com/project/829626/overview/tint
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
Ah, my bad. Thank you!