implemented directional light for entities