Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
hi, I am working on a mash-up application and need to render a 3D scene as an overlay over some other web contents using an html5 canvas. I was able to make a simpler version work using WebGL directly; now I have changed to copperlicht (in order to render a more complex scene), but the background seems to be rendered solid even if alpha of bg color is set to 0. Is there anyone who knows what I might be doing wrong .... or whether copperlicht does (not) support transparent background color ... or whether that could be added in the future? I am new to copperlicht and javascript, so any help would be appreciated. (I have some experience with OpenGL and C++.) ty87 |
||||
|
That's currently not supported, but I'm going to add this feature in a future version. |
||||
|
Thanks ... !!! |
||||
|
I also need this feature! Any ETA on when support for transparent BG will be added? |
||||
|
I think it should make it into the next release. But in the meantime, you could do this yourself: Open the latest version of copperlicht.js, search for 'clearColor' and change the fourth parameter, which should be '1' to '0'. That's it. |
|