How to use megalights correctly?

The 1070 doesn’t support hardware raytracing. There is an console command that might work, r.D3D12.DXR.AllowEmulatedRayTracing=1

But you’ll probably need a newer GPU to use megalights, at least with acceptable performance.