I want to do a very simple thing: I want to make a sprite brighter so I’m doing this:
filters = [new ColorMatrixFilter([
1, 0, 0, 0, 300,
0, 1, 0, 0, 300,
0, 0, 1, 0, 300,
0, 0, 0, 1, 0
])];
I took the matrix structure from here assuming that this filter acts in the same way in OpenFL. I’ve tried different values in the matrix but the filter has no effect when I’m applying it…
Am I doing something wrong? Applying other filters like BlurFilter works perfectly. Or maybe there is another way to achieve this effect?