Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Paksas

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 Paksas 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 );



PARTNERS