secondlife / secondlife/viewer

PBR material texture artifacting

Open
#3,716 2 comments 0 reactions 1 assignee View on GitHub

@Geenz is already working on this.

Since Apr 7, 2025.

backlog bug team:viewer
Dominant language
C++
Stars
299
Forks
146
Avg merge
1d 9h
Merged PRs (30d)
88

Description

I've become aware of a texture rendering issue that impacts textures when on a face. It's not so much an issue that only impacts PBR textures, but it is exponentially worse and makes certain designs as mastered in Substance unusable as PBR.

I'm not enough of a rendering brain to understand what is going on here, but it's my belief this is not correct and is a bug. I hope that this will get in front of the right people to be evaluated and hopefully fixed.

This is being demonstrated with a 0-25% gray bi-linear gradient, however anything that uses color and gradients near this will exhibit the same obvious defects. A single example using real-world art is included for reference.

Texture UUIDs

  • Dark gradient lossy: cac83520-08b2-500f-b683-1ede13d4e052

  • Dark gradient lossless: bd66f42c-6b56-780e-c183-3307151f8292

Raw files, non-anotated screenshots, and sample items shown are available upon request but I don't think they will be necessary.

As I was sharing this around with creator friends moments before submitting this I was made aware this may be or have been a known bug, and can be alleviated entirely on the material side by setting the alpha mode selector to blended. Masked and opaque do still exhibit the shown issues. This made me frown. There is no alpha channel on the textures shown.

https://secondlife.canny.io/admin/board/bug-reports/p/pbr-material-texture-artifacting

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.