the_lab_renderer icon indicating copy to clipboard operation
the_lab_renderer copied to clipboard

How to disable Fresnel highlighting

Open KevinComerford opened this issue 9 years ago • 2 comments

Can't seem to disable specular Fresnel highlighting effect without affecting the cubemap scaler. I know it was added to make things pop, but there are many things that I don't want to add it too as the effect is too strong. I was able to affect the flFresnelExponent to change falloff of the effect, but it doesn't affect its contribution. Is there an easy way to disable the effect entirely?

KevinComerford avatar Aug 03 '16 04:08 KevinComerford

I have the same issue. In the (Unity) standard shader there is a setting for roughness ("Smoothness") which directly affects Fresnel, but there doesn't seem to be a similar setting in the vr_standard shader (there is "Glossy", which doesn't seem to affect it).

@KevinComerford, did you manage to find a solution or do you have any further links?

plmayer avatar Sep 19 '16 13:09 plmayer

Follow-p: You can adjust the Fresnel effect in lines 177 and 566 of vr_lighting.cginc.

plmayer avatar Sep 26 '16 08:09 plmayer