secondlife / viewer

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

Material with low Roughness factor turns black when camera zooms in. #1650

Open Dan-Linden opened 3 months ago

Dan-Linden commented 3 months ago

Environment

Second Life Release 7.1.8.9375512768 (64bit) Release Notes

You are at 86.2, 168.0, 22.9 in Rumpus Room 4 located at simhost-040b83eb1ef209ed9.aditi SLURL: secondlife://Aditi/secondlife/Rumpus%20Room%204/86/168/23 (global coordinates 35926.2, 12712.0, 22.9) PMFP 2024-05-31.9321100266 Release Notes

CPU: Apple M1 (2400 MHz) Memory: 8192 MB OS Version: Mac OS X 14.5.0 Darwin 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103 x86_64 Graphics Card Vendor: Apple Graphics Card: Apple M1

OpenGL Version: 4.1 Metal - 88.1

Window size: 1440x774 Font Size Adjustment: 96pt UI Scaling: 1 Draw distance: 128m Bandwidth: 3000kbit/s LOD factor: 1.75 Render quality: 5 Texture memory: 5461MB Disk cache: Max size 1638.4 MB (8.0% used) HiDPI display mode: 0

J2C Decoder Version: KDU v7.10.4 Audio Driver Version: FMOD Studio 2.02.20 Dullahan: 1.14.0.202310131309 CEF: 118.4.1+g3dd6078+chromium-118.0.5993.54 Chromium: 118.0.5993.54 LibVLC Version: 3.0.16 Voice Server Version: Vivox 4.10.0000.32327.5fc3fe7c.5942f08

Packets Lost: 0/4008 (0.0%) June 05 2024 11:50:27

Description

Specular objects go black when the camera gets close.

Reproduction steps

  1. Set Preferences > Graphics > Quality and Speed to High, or toggle Mirrors on in Advanced Graphics Preferences.
  2. Look at the sphere at secondlife://Aditi/secondlife/Rumpus%20Room%204/85/167/23
  3. Zoom in close to the sphere.

Observed: The sphere turns black.

zoomed in

Expected: The sphere should not turn black. As is seen when the camera is zoomed out a bit.

zoomed out
AtlasLinden commented 3 months ago

Also reproduced on Windows. Seems to occur when enabling Mirrors in Advanced Graphics Settings https://gyazo.com/f100a8b030fbe5ea7e72f4177d023456

Jenna-Huntsman commented 2 months ago

FWIW, this also repros on Linux. This is definitely tied to enabling mirrors, as disabling mirrors restores the expected behavior.

canny[bot] commented 2 months ago

This issue has been linked to a Canny post: Reflections turn black when zooming in close :tada: