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
158
S
67
G
43
Posts: 2,603
Reputation: 36,003

Post » Thu Mar 27, 2014 4:24 pm

Thanks, fixed for next build.
Scirra Founder
B
403
S
238
G
89
Posts: 24,654
Reputation: 196,155


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest