alpha problem in COPs

   3141   3   2
User Avatar
Member
33 posts
Joined: Jan. 2006
Offline
Hi. I'm trying to create a spritecard with nice transparent edges. I've got a concentric ramp hooked up to the mask input of a file cop (holding my image). I have everything set to alpha in the file cop and the alpha of the ramp looks good but when I check the alpha of the file cop it is completely opaque (white). Any ideas what I might be doing wrong? Thanks.
User Avatar
Staff
2540 posts
Joined: July 2005
Offline
At some point in time you have to premultiply the color by the alpha channel. wether you do that in COPs or in the shader, you still have to do it.

In COPs, just use the Premultiply COP.
There's at least one school like the old school!
User Avatar
Staff
5158 posts
Joined: July 2005
Offline
The Ramp COP also has all its points set to alpha=1 by default. You probably need to change the dark area's alpha to 0.
User Avatar
Member
7 posts
Joined: Aug. 2017
Offline
when I use the alpha channel I get these weird artifacts they seem to be completely random

Attachments:
image (5).png (1.1 MB)

  • Quick Links