Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualTiagoCosta

Posted 03 February 2013 - 05:31 AM

Here you go (slide 58)

To ensure energy conservation between specular and diffuse:


fresnelDiffuse = FSchlick(cSpec, light, normal);
fresnelSpecular = FSchlick(cSpec, light, halfway vector);
finalColor = specularColor*fresnelSpecular + diffuseColor*(1-fresnelDiffuse)

You can even approximate the diffuse fresnel (according to tri-Ace):

finalColor = specularColor*fresnelSpecular + diffuseColor*(1-cSpec)

 

 

You can use the Schlick Fresnel approximation (in slide 44) to calculate the fresnel.

 

EDIT: Distinction between diffuse and specular fresnel.


#4TiagoCosta

Posted 02 February 2013 - 03:39 PM

Here you go (slide 58)

To ensure energy conservation between specular and diffuse:
finalColor = specularColor*fresnel + diffuseColor*(1-fresnel)

You can use the Schlick Fresnel approximation (in slide 44) to calculate the fresnel.

#3TiagoCosta

Posted 02 February 2013 - 03:29 PM

Here you go (slide 58)

To ensure energy conservation between specular and diffuse:
finalColor = specularColor*fresnel + diffuseColor*(1-fresnel)

#2TiagoCosta

Posted 02 February 2013 - 03:29 PM

Here you go (slide 58)

 

To keep ensure energy conservation between specular and diffuse:

 

finalColor = specularColor*fresnel + diffuseColor*(1-fresnel)

 

 


#1TiagoCosta

Posted 02 February 2013 - 03:25 PM

Here you go (slide 58)


PARTNERS