Hello,
I have been trying to create a cocos based web overlay on a react native app.
The overlay needs to have a transparent background. However, the cocos build creates an opaque background. ( even if I set the Canvas and its background elements to be transparent in index.html ).
I tried the earlier solutions mentioned in this forum.
- Set the ClearColor property of the Camera to be transparent.
- Set the ENABLE_TRANSPARENT_CANVAS in Macro configurations.
However, this doesnt work for me. It still shows a black opaque background. I am using Cocos 3.8.3. Is there something else that needs to be done that I am missing ?