Quote: Original post by rodzilla
Is there a faster solution than the LIT instruction to get full-featured lighting ?
Yes it's called per-vertex lighting ;)
j/k
On many hardware, it's faster to lookup a texture than computing complex operations such as exponents.
Also, make sure you compute the half-angle vector locally instead of using the infinite half-angle vector.