Forum

Cycles Layer Weight, Transparency and Emission nodes with Orthographic Camera?

19 August 2017 09:53
Is it possible to use Cycles Layer Weight, Transparency, Mix and Emission nodes with an Orthographic camera in B4W? The documentation says that it works with these Cycles nodes, but I can't seem to get it to work.

This node structure works in Cycles and creates a hologram like effect:



My b4w result with an Orthographic Camera:




B4w Perspective Camera - No transparency:





I've attached my blend file.

Thanks
24 August 2017 10:44
Is it possible to use Cycles Layer Weight, Transparency, Mix and Emission nodes with an Orthographic camera in B4W? The documentation says that it works with these Cycles nodes, but I can't seem to get it to work.

This node structure works in Cycles and creates a hologram like effect:
Hello!

You should link Geometry node Normal output to Normal input of the Layer Weight node.
For now normals are not picked up automatically in Cycles materials. We'll solve this issue soon
Blend4Web Team - developer
Twitter
LinkedIn
28 August 2017 07:27
You should link Geometry node Normal output to Normal input of the Layer Weight node.
For now normals are not picked up automatically in Cycles materials. We'll solve this issue soon

Konstantin, thanks for the great tip!
 
Please register or log in to leave a reply.