I read this topic Grid-like patterns in denoiser where this is being said:
“[…] Normal buffers must be null vector for misses and normalized vectors in camera space otherwise[…]”
In my OptiX miss program kernels (using an environment map) yet I used as input for normal buffer for the denoiser:
-normalize(CameraRayDirection) // instead of (0,0,0)
to simulate the directions as in a skydome.
Should I change that back to 0,0,0 because of performance reason (or other reason) ?