Forum

Blend4Web with a transparent background

11 February 2016 06:35
Is it possible to create Blend4Web content that has a transparent background?
What I mean is, to allow the web page's background to show directly behind a 3D object.
To word it another way: To overlay a 3D object on a web page (for example in its own div).

If it is possible, what are the steps to implement it?
Thank you.
11 February 2016 08:14
Hi,
Is it possible to create Blend4Web content that has a transparent background?
Please see this tutorial (you'll need part3).
The Founder | Twitter | Facebook | Linkedin
11 February 2016 09:29
Thank you!
12 February 2016 12:48
You're welcome!
The Founder | Twitter | Facebook | Linkedin
13 December 2017 03:08
Hello, I have read over this tutorial and am having trouble. I am still new to coding.
I simply want the bits that will make the background of the 3D Player to be zero alpha when placed on a webpage.

Please see this tutorial (you'll need part3).


Thank you very much for your time.
Jack
13 December 2017 13:02
Hi!
Try to set alpha in the url params:
http://localhost:6687/apps_dev/webplayer/webplayer.html?load=../../deploy/assets/physics/compound.json&compressed_textures&no_social&alpha
Alexander (Blend4Web Team)
twitter
14 December 2017 01:46
Hello Alexander, I have no idea how or where to use that?

thank you very much
Jack
18 December 2017 05:22
Cool, I am using these options when adding the iframe element to a webpage.
thank you
Jack
 
Please register or log in to leave a reply.