jpdev Posted February 15, 2015 Share Posted February 15, 2015 Is there a way in pixijs to do the following: Render sprites with alpha values in the range of 0 to 1 to an offscreen texture, then rendering this texture to screen with alpha cutoff. Meaning, that only the parts where alpha is above 0.x are drawn to screen (with alpha 1.0) and the rest of the pixels with alpha >= 0.x are left completly transparent? I have tried to google for pixijs and alpha cutoff, but found nothing. (Also checking the pixi help for alphaCutoff didn't get me anyware.)It possibly has a different name? Thanks for your help,JP Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.