secondlife / secondlife/viewer
Align Planar does not work for PBR textures that are scaled and rotated
@cosmic-linden is already working on this.
Since Apr 29, 2026.
- Dominant language
- C++
- Stars
- 299
- Forks
- 146
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 88
Description
Environment
Second Life Release 26.2.0.22375047624 on Win11/OSX
Description
Align Planar does not work for PBR textures that are scaled and rotated.
Reproduction steps
Repro:
- Make two boxes and overlap them. (They do not need to be at different rotations like the video)
- Put a PBR material on both boxes. (I used "Particle Arrow" from the Library as the Base Color texture)
- Set both boxes to planar mapping.
- Set one to:
- Scale u: 5
- Scale v: 7.5
- Rotation: 36
- Offset u: 0.2
- Offset v: 0.7
- Select the other face, then shift-click the face with modified settings.
- In the "Texture" tab of the build floater, click the "Align planar faces" checkbox.
Observed: The scale appears to be correct but the rotation and transform are slightly off.
Video of texture on left and PBR on right: https://github.com/user-attachments/assets/ae039d42-146b-4b0b-a2e6-2f31fec89d68
Another view of the PBR:
Expected: The materials on the 2 boxes should align perfectly as Blinn-Phong textures do.
Found while testing https://github.com/secondlife/viewer/issues/2975 in the scope of https://github.com/secondlife/iqa/issues/606
This repo is using Opire - what does it mean? 👇
💵 Everyone can add rewards for this issue commenting
/reward 100 (replace 100 with the amount).🕵️♂️ If someone starts working on this issue to earn the rewards, they can comment
/try to let everyone know!🙌 And when they open the PR, they can comment
/claim #5679 either in the PR description or in a PR's comment.🪙 Also, everyone can tip any user commenting
/tip 20 @Dan-Linden (replace 20 with the amount, and @Dan-Linden with the user to tip).📖 If you want to learn more, check out our documentation.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.