I try to integrate 3D panorama viewer (just like Google Street View) into the game.
However, there is a black background on game screen block the viewer. (Left Image)
In the right image, I try to reduce opacity of game screen via debug tool to make you see the viewer.
Is there anyway to make the game screen transparent instead of black color?
The game screen is canvas element. It should support transparent
But I think the core engine just paint it to black color.
Since the body element is already in black color. Why they make the canvas black color too?
However, there is a black background on game screen block the viewer. (Left Image)
In the right image, I try to reduce opacity of game screen via debug tool to make you see the viewer.
Is there anyway to make the game screen transparent instead of black color?
The game screen is canvas element. It should support transparent
But I think the core engine just paint it to black color.
Since the body element is already in black color. Why they make the canvas black color too?