Page MenuHome

Regression: Nishita Sky - Black Sun Disc(Cycles)
Closed, ResolvedPublicBUG


System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.77

Blender Version
Broken: version: 3.2.0 Beta, branch: master, commit date: 2022-05-18 16:54, hash: rB214e61fc2ca1
Worked: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: cc66d1020c3b

broke between 17eb8a9cebd5 and a5644f9a28ea

Short description of error
Certain (still reasonable) values cause the Sun Disc of the Sky Texture (Nishita) to be rendered as partially or fully black in Viewport Shading "Rendered" as well as the final Render. The bug only occurs when using GPU Compute (maybe a driver bug?)

Exact steps for others to reproduce the error
Assuming a new file:

  1. In Scene > World, set the Color parameter of the Surface to "Sky Texture," the Sky Texture type to Nishita and make sure to enable the Sun Disc.
  2. Set the following values: Sun Size 3.14°, Sun Elevation 8.4°, Altitude 5000m and all the other values can be left to their default.
  3. In the 3D-Viewport set the shading to "rendered" and find the sun disc.
  4. When the Sun Disc is in view, align the camera to view and render with Cycles and GPU Compute.

Playing around with the parameters in Sun Size, Sun Elevation, Altitude and Air can change the size of the black area of the sun disc, e.g. Sun Size < 2.6° = fully black, Sun Size > 3.3° full white, every value in between causes a black area inside the disc as seen in the screenshot bellow:

Device: GPU Compute
Device: CPU Compute

Event Timeline

Hi, I confirm that this issue exists on my system too:
Worked in: 3.1.0
Broken in: 3.3.0 alpha
Windows 10 Enterprise
Nvidia RTX 4000 (driver 472.88)


The bug only occurs when using GPU Compute (maybe a driver bug?)

Can not confirm when rendering with CPU (tested in 3.3)
Peter is also able to repro so less likely a driver bug. @Philipp Oeser (lichtwerk) , can you confirm?

System Information
Operating system : Windows-10-10.0.18362-SP0 64 Bits
Graphics card : AMD Radeon(TM) 535 ATI Technologies .

I just loaded the file on my Linux machine and was able to reproduce the issue with:

  • version: 3.2.0 Beta, branch: master, commit date: 2022-05-19 19:21, hash: 1a627d528cf9
  • version: 3.3.0 Alpha, branch: master, commit date: 2022-05-18 22:35, hash: ae2d2c936161

System Information:

  • platform: Linux-5.17.6-1-MANJARO-x86_64-with-glibc2.35
  • renderer: NVIDIA GeForce GTX 1050/PCIe/SSE2
  • version: 4.5.0 NVIDIA 510.68.02

Since the issue occurs on different OSes and driver versions I agree with @Pratik Borhade (PratikPB2123), a faulty driver is unlikely.

Philipp Oeser (lichtwerk) triaged this task as High priority.May 20 2022, 9:14 AM
Philipp Oeser (lichtwerk) updated the task description. (Show Details)
Brecht Van Lommel (brecht) changed the subtype of this task from "Report" to "Bug".May 20 2022, 3:08 PM