Lighting finally works, changed texture handling