Fixed a bug in diffuseAndSpecular: the f_att was being used for directional lights without being initialized to 1