Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to disable Fresnel highlighting #6

Open
KevinComerford opened this issue Aug 3, 2016 · 2 comments
Open

How to disable Fresnel highlighting #6

KevinComerford opened this issue Aug 3, 2016 · 2 comments

Comments

@KevinComerford
Copy link

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?

@plmayer
Copy link

plmayer commented Sep 19, 2016

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
Copy link

plmayer commented Sep 26, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants