Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#Actualgfxgangsta

Posted 23 February 2012 - 03:56 PM

Can you post the code for directionalLightEffect and combineFinalEffect?

And as for "but I believe things which are within the 0.0 to 1.0 range don't have to be normalized, since that's basically what normalizing does"...


Normalizing causes a vector to become unit length. Even if the individual XYZ are in the 0.0 to 1.0 range, that doesn't mean the vector's length == 1.

#2gfxgangsta

Posted 23 February 2012 - 03:48 PM

Can you post the code for directionalLightEffect and combineFinalEffect?

And as for "

but I believe things which are within the 0.0 to 1.0 range don't have to be normalized, since that's basically what normalizing does"...



Normalizing causes a vector to become unit length. Even if the individual XYZ are in the 0.0 to 1.0 range, that doesn't mean the vector's length == 1.


#1gfxgangsta

Posted 23 February 2012 - 03:47 PM

Can you post the code for directionalLightEffect and combineFinalEffect?

PARTNERS