New issue
 Projects > cocos2d-x > Issues > Bug #4299

Clippingnode with sprite as stencil has alpha blending issue

Bug #4299 [New]
DipankarDas 2014-03-06 20:45 . Updated about 2 years ago

When i use a sprite as stencil and apply alpha threshold, instead of showing only the selected part it is not showing anything.

To understand better please check the ClippingNode Test in library. The Hole is not transparent, instead it is treated as black texture.

v2.2.2.png - The Hole is transparent in v2.2.2 (174.3 kB) DipankarDas, 2014-03-06 20:45

v3.0beta2.png - The Hole is NOT transparent in v3.0beta2 (125 kB) DipankarDas, 2014-03-06 20:45

dabingnn 2014-03-11 06:09

Thank you for your feedback.
We have fixed the bug on the current develop branch and will release it soon.

DipankarDas 2014-03-11 14:55

thank you for your response.

DipankarDas 2014-03-11 20:50

Could you please provide me the link to git hub for this fix?

stnguyen 2014-07-17 05:12

Is this fixed? I'm having this issue on Genymotion simulators and some android devices with cocos2d-x 3.2rc0

DipankarDas 2014-07-17 17:43

i am using v3.1 and it has been fixed. It was a shader issue.

stnguyen 2014-07-23 16:08

@DipankarDas: what should I do to update my current project to fix this bug?

Atom PDF

Start date:2014-03-06
Due date:
% Done:


Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.