Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. float3 SchlickFresnelFunction(float3 SpecularColor,float LdotH)
  2. {
  3. return SpecularColor + (1 - SpecularColor)* SchlickFresnel(LdotH);
  4. }
  5.  
  6.  
  7. FresnelFunction *= SchlickFresnelFunction(specColor, LdotH);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement