To let the user focus some images, I place an extra plane with a semi-transparant color material just behind the plane of the image.
I just updated my code since a month or two and now I can’t get the color alpha to look the same. The colors look much more vivid (multiplied / added?)
I tried working with Blending modes, but using BlendingMode.Alpha for the transparent one and BlendingMode.LAYER for the image only gave me a gray scale color.
var focusMaterial:ColorMaterial = new ColorMaterial(0x0888BF);
focusMaterial.alpha = 0.7;
Note: To allow users to upload images of any size, I place the bitmap of the image first in a larger, closest matching bitmap with dimensions of power of 2… I then place the image in the middle and fill the rest with white (which seems to be filtered out just like I want it to, but I’m not sure how or why that was again)
Perhaps this white - nonvisible border makes the transparant colormaterial behind it look ‘multiplied’ / more vivid?.
Any suggestions to the transparent color look more like it was? (top example in image)