secondlife / viewer

🖥️ Second Life's official client
GNU Lesser General Public License v2.1
206 stars 52 forks source link

Mirror probes go black when roughness is set too high. #1064

Open Geenz opened 5 months ago

Geenz commented 5 months ago

Environment

N/A

Description

Mirror probes will eventually go black on objects when the roughness is set past ~0.15-ish. On macOS this will be green.

This is due to mirror probes not generating mipmaps beyond the first few.

Reproduction steps

Set a PBR surface's roughness factor past 0.15. You'll eventually hit this.

sergiiiproductengine commented 3 months ago

OSX: Failed QA. Win10: Passed.

Mirror probe doesn't go black on my Win10, while on OSX it turns to the green (Please see Win10 and OSX system info below).

Verified on the Second Life Release 7.1.8.9103842320 (64bit) on Win10/OSX in the scope of https://github.com/secondlife/iqa/issues/239.

OSX system info

CPU: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (2200 MHz) Memory: 16384 MB OS Version: Mac OS X 12.6.0 Darwin 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:17:10 PDT 2022; root:xnu-8020.140.49~2/RELEASE_X86_64 x86_64 Graphics Card Vendor: ATI Technologies Inc. Graphics Card: AMD Radeon Pro 555X OpenGL Engine OpenGL Version: 4.1 ATI-4.8.101

Win10 system info

CPU: 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz (3302.39 MHz) Memory: 16076 MB OS Version: Microsoft Windows 10 64-bit (Build 19045.4412) Graphics Card Vendor: NVIDIA Corporation Graphics Card: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2 Windows Graphics Driver Version: 32.0.15.5585 OpenGL Version: 4.6.0 NVIDIA 555.85