Setting WebGL context transparency
14 October 2014 07:46
The following statement is made in the Blend4Web documentation:
You can use any HTML content behind the canvas element, to which the rendering is performed, as a background. To do this, activate the WebGL context transparency (the alpha parameter). For correct results, it’s recommended to set absolutely transparent black background color. Such the configuration is used by default in the scene viewer of Blend4Web SDK.
I have no experience with scripting, and the doc doesn't make it clear - where do I find or add this setting? Thanks!
You can use any HTML content behind the canvas element, to which the rendering is performed, as a background. To do this, activate the WebGL context transparency (the alpha parameter). For correct results, it’s recommended to set absolutely transparent black background color. Such the configuration is used by default in the scene viewer of Blend4Web SDK.
I have no experience with scripting, and the doc doesn't make it clear - where do I find or add this setting? Thanks!
14 October 2014 11:22
Hello
Currently to change the alpha parameter you need to write your own app. See method 3 in the corresponding tutorial.
Currently to change the alpha parameter you need to write your own app. See method 3 in the corresponding tutorial.
Blend4Web Team
https://twitter.com/AlexKowel
https://twitter.com/AlexKowel