secondlife / viewer

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

Negative UV scale causes wrong lighting on PBR materials #1847

Closed cosmic-linden closed 1 month ago

cosmic-linden commented 4 months ago

Description

Applying a negative scale u or scale v to a prim with the PBR material causes the lighting to shine from the wrong direction.

These other tickets are related but not equivalent:

igorlproductengine commented 2 months ago

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