diffuseFresnelParameters not working?

Hey everyone,

So I was playing around with fresnel but I can’t seem to get the diffuse fresnel working? https://www.babylonjs-playground.com/#N96NXC#6
Emissive works just fine but I that’s not what I’m after. The diffuse fresnel would be what I need.

According to the documentation it should work just fine:

If anyone has a clue?


Hey! your diffuse was inactive because there was no light and emissive was set to max:

1 Like

You have a white emissive color that washes out everything:


[…] Arg, beaten by the overlord!

Ah thanks for your help it works now!
It still doesn’t work for me though… but that’s my problem. I saw that this material that’s being used in this example isn’t a PBR material. I’m using PBR materials and apparently you can’t use fresnel. At least not the kind I want (diffuse). https://doc.babylonjs.com/api/classes/babylon.pbrmaterial#usealphafresnel


Fresnel is an inherent property of the PBR so you do not have manual control on it to try to be as close as we can from what nature does.

In case you need special effects like those, maybe you could use the node material editor based on pbr ???

@Evgeni_Popov just released the pbr node there so it might be a nice one to do.