Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualTiagoCosta

Posted 22 January 2013 - 03:49 PM

Is there some little thing I'm missing ?

float3 F_schlick = 0.3f + ((1.0f - 0.3f) * (1.0f - pow(NdotV, 5.0f)));

There's an error in that line...
It should be:
 

float3 F_schlick = 0.3f + ((1.0f - 0.3f) * pow(1.0f - NdotV, 5.0f));

Post a screenshot after changing this line


#1TiagoCosta

Posted 22 January 2013 - 03:41 PM

Is there some little thing I'm missing ?

 

float3 F_schlick = 0.3f + ((1.0f - 0.3f) * (1.0f - pow(NdotV, 5.0f)));

 

There's an error in that line...

It should be:

 


float3 F_schlick = 0.3f + ((1.0f - 0.3f) * pow(1.0f - Ndot, 5.0f));

Post a screenshot after changing this line


PARTNERS