tobbe Posted March 18, 2021 Share Posted March 18, 2021 Is it possible to draw a simple line with a varying alpha? For example, a straight line with alpha=0.9 in one end and linearly varying to alpha=0.1 in the other end? I am a total noob when it comes to PixiJS and have spent the last couple of hours on this but it is a rather steep learning curve. I am note sure I am using the right terminology, so google and the docs come up empty (for me at least). Thanks, Toby Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted March 19, 2021 Share Posted March 19, 2021 (edited) sprite with gradient texture like in https://pixijs.io/examples/#/textures/gradient-basic.js Edited March 19, 2021 by ivan.popelyshev tobbe 1 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.