Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _Ior("Ior", Range(1,4)) = 1.5
- float SchlickIORFresnelFunction(float ior ,float LdotH)
- {
- float f0 = pow(ior-1,2)/pow(ior+1, 2);
- return f0 + (1-f0) * SchlickFresnel(LdotH);
- }
- FresnelFunction *= SchlickIORFresnelFunction(_Ior, LdotH);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement