Halo, new to openGLES and shader, so this question might be rookie, don’t make fun of me.XD
Currently I am trying to blend a gray texture to a single sprite, so that the sprite would look like darkened.
Everything looks fine but I find that the mask effects all the sprites in the scene.
I have “A” - the mask, “B” - the sprite, “C” - the background,
I want A to dark B, but has no effect to C.
I am grateful if there is a way to do this.
Thank you guys.~~