GPSnoopy / RayTracingInVulkan

Implementation of Peter Shirley's Ray Tracing In One Weekend book using Vulkan and NVIDIA's RTX extension.
BSD 3-Clause "New" or "Revised" License
1.28k stars 116 forks source link

Rendering Error with RDNA2 #36

Closed PMunkes closed 3 years ago

PMunkes commented 3 years ago

I noticed a weird rendering error in scene 2: Metallic Swapping the material of the affected sphere out to Material::Lambertian(vec3(1.0f),1) resolves the issue: grafik Switching the center Spere to Material::Metallic(vec3(1.0f), 0.0f) causes the issue to also affect this sphere: grafik

This is on an RX 6800 on the 21.2.2 driver.

PMunkes commented 3 years ago

I filed a patch to fix the issue. Here is RT in one weekend after the Fix: grafik And Planets in one weekend: grafik