I use a tint with partial alpha blending to make the colors lighter, which is producing an interesting problem: the entities are coming through when I want the blend to be opaque.
My solution was to do this, because trying to set a blend_mode didn't work (not supported by icon?):
Code: Select all
icon =
{
{
icon = inputs.icon
},
{
icon = inputs.directory.."/graphics/icons/tiers/"..inputs.icon_size.."/tier-"..tier..".png",
},
{
icon = inputs.directory.."/graphics/icons/tiers/"..inputs.icon_size.."/tier-"..tier..".png",
tint = reskins.lib.adjust_alpha(reskins.lib.tint_index["tier-"..tier], 0.75),
}
}