When I apply a tint color on a layer, according to the docs “Each pixel color value is multiplied by the tint color.” When I also apply a tint color on a group that the layer is a child of, how is the color then calculated?
The docs say “The tint color can also be set on a Group Layer in which case it is inherited by all layers in the group.”
But this does not seem to be true. At least on the macOS version of Tiled I see there is some blending or other calculation going on.
For example RGB(255, 0, 0) on the group and RGB(0, 255, 0) on the layer makes the tiles completely black, no matter what the color of the tile pixels themselves are.
Is this a bug? If not, how are the tiles on a layer tinted if there are (multiple) parent groups that also have tinting enabled?
This explains why if you tint a layer green with rgb(0,255,0) and then tint its parent red with rgb(255,0,0), you get black. It’s as if you would overlay a red and a green color filter: