Tint behavior issue

I was wondering if anyone else is experiencing this issue when using the tint object color behavior or if it’s just my pc or GPU. When I use the tint color behavior it doesn’t seem to be able to tint lighter colors like white or yellow or red very well. The white is completely absent as it doesn’t even tint at all if you use white and other light colors appear very faint. When using dark colors like black though it works just fine… Anyone else having this issue or is it just my pc.

Tinting works by subtracting color only. Because of this, it works best on pixels that are white or close to it. When white (255,255,255) is given a tint, it becomes that exact color. So for example a white square with tint (255,0,0) will become a red square.

A grey square (150,150,150) with the same tint would become (150,0,0). In other words, the tint subtracts none of the red component, and all of the green and blue component. It doesn’t add to the red component - the original 150 is the ceiling, so to speak.

Tinting something white does nothing as it simply preserves all of the original color components. “Pure” yellow is 255,255,0 which would remove all blue from the sprite. A completely blue sprite (0,0,255) tinted yellow would result in black.

If you want more advanced color changes, you would need to use one of the 2D effects such as “Adjustment”, which can do things like brighten a sprite

1 Like

Ohhhhh… That explanation actually makes so much sense. Thanks I’ll be sure to check the adjustments effect :smiley:

I think tint can behave oddly sometimes if the sprite already has semi-transparent pixels or effects stacked on top of it. I’d also check if another event is constantly resetting the color every frame without noticing.