Forum

Is it possible to make a model cast a shadow on a world texture (cubemap) on blend4web?

31 January 2017 18:21
Hi all,

I just learned how to import an HDRI to blend4web thanks to the blend4web forums.

As a follow up question, I would like to know if it is possible for a model to cast a shadow on the world texture.

My question is the same as found in this link: http://blender.stackexchange.com/questions/518/how-to-make-a-model-cast-shadows-onto-the-world-texture-background. I would like to know how it is possible to apply this in blend4web.

Thank you very much!
31 January 2017 18:33
Hi all,

I just learned how to import an HDRI to blend4web thanks to the blend4web forums.

As a follow up question, I would like to know if it is possible for a model to cast a shadow on the world texture.

My question is the same as found in this link: http://blender.stackexchange.com/questions/518/how-to-make-a-model-cast-shadows-onto-the-world-texture-background. I would like to know how it is possible to apply this in blend4web.

Thank you very much!
No, world texture (or cubemap) render shadeless, so it can't recieve any shadow, but you can create a fake plane with the shadow recieve on it. You can see the implementstion of this in Fountain demo on our site. Most of environment in the scene is the cubemap but a part near the fountain is a special mesh with simple shader wich make a bridge between cube map and fountain's pedestal.
Blend4web and that kind of thing.
 
Please register or log in to leave a reply.