Accurate and efficient lighting for skinned models