Transparent background
useful when embedding into another page
I'm looking forward to this enhancement. I tried to edit the script from the packager output. Changing the background color was easy, but I couldn't figure out how to change the alpha.
After further reading, I've learned how to set the background to be transparent on files created by the packager.
- change
alpha: !1toalpha: 1 - change
.clearColor(...this._backgroundColor4f)to .clearColor(0,0,0,0)
These values appeared multiple times in the packager output.
If the packager creates a "Plain HTML (standalone, works anywhere)" file, then these values are in the .html file.
If the packager creates a "Zip (ideal for websites)", then the values are in the script.js file.
Changing these values in the standalone packager will produce transparent backgrounds.
I don't how to add this as an option in the UI.