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.
Show differencesHistory of post edits
#2gfxgangsta
Posted 23 February 2012 - 03:48 PM
Can you post the code for directionalLightEffect and combineFinalEffect?
And as for "
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?