I'm currently building a mesh from scratch each frame and am setting the vertex normals 'by hand' (using a few tricks), as UpdateNormals is far too slow.
Currently, I'm ensuring my normals are unit length, as is the norm, but it seems to me that Blitz3D (or is it DX?) doesn't care about the length of normals e.g. giving a normal a length of 100 still seems to light the vertex exactly the same as if the length was 1.
I'm trying to optimize building the mesh as much as possible, so not having to bother setting the normals to unit length means I could probably save a millisec or two.
Do you think doing this is OK, or should I always set my normals to unit length?
As I say, it doesn't seem to make any difference on my machine, but I'm not sure if this can vary between different GFX cards, or even different versions of DX.
Any insights greatly appreciated.
|