Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 15 Mar 2008
Offline Last Active Oct 04 2012 04:20 PM

#4983950 specular light flickers when a ray is parallel to the lit surface

Posted by on 26 September 2012 - 05:55 AM

@Ashaman73 - I tried, but that doesn't change anything. As a matter of fact if you look at the code you pasted ( the original one ), you can see that I'm actually maxin' it to 1.0,
before I pass it to the 'pow' function:

float specularFactor = pow( max( specularValue, 1.0 ), matShininess );