Fix normal mapped lighting calculations for generated shaders