Warp Mask effect

Bugs will be moved here once resolved.

Post » Sat Mar 22, 2014 4:13 pm

Problem Description
Warp Mask effect ignores transparency in objects


Steps to Reproduce Bug
  • preview
  • drag sprite around

Observed Result
Warp Mask is effecting entire sprite bounding box

Expected Result
To effect only none transparent pixels

You can fix this by changing
gl_FragColor = texture2D(samplerBack, p);
to
gl_FragColor = texture2D(samplerBack, p) * fronta;

in warpmask.fx

Affected Browsers
  • Chrome: (YES)
  • FireFox: -
  • Internet Explorer: -

Operating System and Service Pack
Win 64 Sp1

Construct 2 Version ID
r164.2
You do not have the required permissions to view the files attached to this post.
ImageImageImageImage
B
157
S
66
G
41
Posts: 2,599
Reputation: 34,835

Post » Thu Mar 27, 2014 4:24 pm

Thanks, fixed for next build.
Scirra Founder
B
395
S
233
G
88
Posts: 24,376
Reputation: 193,842


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests