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:
- 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.
- 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.
- In the 3D-Viewport set the shading to "rendered" and find the sun disc.
- 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: CPU Compute