How to make transparent background of sprite in cocos2d-x

895 Views Asked by At

I'm going to extract the pictures from Heroes III def files. All pictures extracted as a bmp file with blue background. I want to use these pictures in my cocos2d-x project for demo purposes.

How can I use program (GLBlendFunc or Shader?) to make the blue background transparent and choose the shadow visible or not.

source effectexpected effect

0

There are 0 best solutions below