secondlife / secondlife/viewer

GLTF Mesh Import Materials Handling: Quick Fix for Metallic/Roughness and Emissive

Open
#4,189 1 comment 0 reactions 1 assignee View on GitHub

@Geenz is already working on this.

Since Jun 24, 2025.

enhancement triage
Dominant language
C++
Stars
299
Forks
146
Avg merge
1d 9h
Merged PRs (30d)
88

Description

I understand that the GLTF Mesh Uploader materials import handling is in a temporary state and more is planned to match the incoming GLTF material properties.

Its currently setting the base colour correctly whether image or simple colour based, and it seems to be adding the numerical values for metallic factor and roughness, and colour tint for emissive. This is helpful and lets the user adjust the materials even at this early stage.

But the metallic/roughness and emission properties do not seem to be enabled unless a texture is added to those to let the set values apply. Blank allows he numeric properties to apply as a basis for use straight away.

Temporary suggestion: Fill in the metallic/roughness (for any values at all) and emission (if not full black #000000) with the default "Blank" so that these properties are immediately available to the user.

Observed in Second Life Project Gltf-mesh-import 7.1.14.15307986327

Image

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.