made dynamic lighting more precise