i use “in material” saturation constant, but now change to right way throught message like
go.set("/background#sprite", "saturation", vmath.vector4(1, 0, 0, 0))
All good, saturation applyed.
But for tilemap with modified tile map material
go.set("/background_mask#tilemap", "saturation", vmath.vector4(1, 0, 0, 0))
i catch error "’/background_mask#tilemap’ does not have any property called ‘saturation’"
of cause i setup “saturation” constant in material definition.
Is material not properly applyed to tilemap ?
I test “tint.w” and see that this property appllyed properly
go.set("/background_mask#tilemap", "tint.w", 0.1)
all is good, tint works perfectly.
Maybe tilemap material defold user cannot change and used old “buildins” material in all cases (even if change it)?