trinoo Posted December 10, 2021 Share Posted December 10, 2021 (edited) Hello, sorry guys for probably the lama question, but how to set a transparent background? Please take a look at animation here: http://trinoo.cz/lair/ I have set red background color for HTML body in CSS file here: https://trinoo.cz/lair/css/main.css and used backgroundAlpha: 0 option when setting up a renderer (Pixi 5.3.11) in js file here https://trinoo.cz/lair/js/pixiapp.js, so I should see red color when painting is not covering entire viewport (it keeps its aspect ratio, but canvas fills entire viewport), but I can see black instead, why? What am I doing wrong? Thanks. Edited December 10, 2021 by trinoo 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.