How to add two ColorMatrix?

Hello! I want to add two color matrices. I have three filters (brightness, contrast and saturation) but they are independent. For example, if I set the brightness and then I want to set the contrast, the result will apply only the last filter. I want to apply all these three filters at the same time. For that I have to add all these three colormatrix. How can i do this?

Answers

  • snarfsnarf PHMember ✭✭
    edited August 22

    Hi, If this is not too late yet. you can combine multiple ColorMatrix using the postConcat() method:

    colorMatrixOne.postConcat(colorMatrixTwo);

Sign In or Register to comment.