An animation layer with "oversaturated" tint becomes invisible instead.
The other layers (shadow) are unaffected.
Code: Select all
data.raw['assembling-machine']['assembling-machine-3'].animation.layers[1].tint = {r=1,g=1.1,b=1,a=1},
Hoped for Behavior
I was hoping tint could be used to multiply the original color channel to become brighter like this:
Code: Select all
new_green = math.min(1,old_green * green_tint_factor)
Actually expected Behavior
An out of range error.
Why?
In this thread there's a discussion about hue, and i was testing if it can actually be done. because it'd be awesomely useful if it could be done.