How to use the ColorMatrixFilter?

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?

Have you tested on the Flash target? Filter support is still under development, so perhaps this is a difference in the implementation on other platforms?

Oh, I forgot to add that I’m trying it on the cpp target and also on linux. I haven’t try the Flash flash target yet… I can’t build my current project because of heavy usage of ogg files, but I’ll try to make an isolated test later.