Forum

[SOLVED] View Output on Material Geometry Node not rendering a Fresnel in Browser

18 August 2017 16:47
Hi,

I'm new to Blend4Web and I can't render a Fresnel in the Browser, so I'm trying to emulate the Cycles Layer Weight or Fresnel node as described with Blender Internal here:

https://blender.stackexchange.com/questions/47027/achieving-a-feathered-transparent-effect

In the viewport, the Fresnel always correctly faces the camera as it is using the View output from the Geometry node. But in both Firefox and Chrome the Fresnel always faces down the z axis.

The console in Firefox gives an error "…WebGL creation failed: * Error during ANGLE OpenGL init…" Chrome does not gives this error though, so I'm not sure if my graphics card is being blocked.

Have I missed something simple. Please help.

I've attached my blend file to this post.
18 August 2017 17:33
Hi,

I'm new to Blend4Web and I can't render a Fresnel in the Browser, so I'm trying to emulate the Cycles Layer Weight or Fresnel node as described with Blender Internal here:
I've corrected your example, now it works fine.
holotest_view.blend

You also can use Cycles Fresnel node for fresnel.
Blend4web and that kind of thing.
18 August 2017 17:45
Here is a post that has a Fresnel node example file you can download:
https://www.blend4web.com/en/forums/topic/3386/?page=1#post-17331
18 August 2017 18:04
Mikhail Luzyanin, thanks! That worked! I will try Cyles nodes too.


Will Welker, thanks for the example, I'll have a look.
24 August 2017 08:25
For those who are interested in Hologram and fresnel shaders, here is the the solution:

Incorrect Node Structure:




Correct Node Structure:

24 August 2017 08:28
You also can use Cycles Fresnel node for fresnel.

Is it possible to do this with transparency and an orthographic camera?
25 August 2017 14:23
Is it possible to do this with transparency and an orthographic camera?
Fresnel effect not working with orthographic camera.
Blend4web and that kind of thing.
28 August 2017 07:25
Fresnel effect not working with orthographic camera.

Thanks Mikhail.
 
Please register or log in to leave a reply.