2D Toolkit Forum
2D Toolkit => Support => Topic started by: arvz on October 19, 2014, 03:03:09 pm
-
So I've got a tk2dsprite which has a tk2d/BlendVertexColor shader, and over it is a texture on a quad which has transparency that is basically designed to "Darken" the tk2dsprite under it as well as add some other graphical effect, currently I have it on Transparent/Diffuse shader, but no matter what shader I use the tk2dsprite is not being affected by the texture quad overlay at all.
I feel like I need to either use a different shader for the tk2dsprite or the quad, or make a small tweak to the current shaders. I have little understanding of Shaders unfortunately.
Appreciate any advice
Thanks
-
you need to make sure teh other sprite is drawn after the bg one. For a darken effect you will need a shader that performs multiply blend.