Ecycle creator suggested could be a bug from Blender and I should report it. If that is the case I will do it , but first I would like to be 100% sure this is a bug and not something with the setup.
There’s something wrong about that file. I did some tweaking and still got those weirds squares at the gradient. I just opened a new Blender file with a Nishita sun, rendered and it’s normal.
Hi Lucas. Thank you for your answer. Unfortunately I communicated it wrong. I think you are focusing in the artifacts on the sphere and I am talking about this:
That is the way the atmosphere scatters the morning sunlight. Without opening the file (I’m not at my computer), I am guessing that you have the background set to transparent under the Film menu in the viewport so you don’t see the environment background. In the compositor you are adding the background back into the image.
When reconstructing the beauty pass, there isn’t an alpha channel for each one of them. You need to add a Set Alpha node after everything, and them Denoise it.
Thank you ! During the day I found that if I disconnect the Environment Pass then it works.
The important thing here it is that its not a Blender issue as Ecycles support said…but It is about the node structure.