KhronosGroup / KhronosGroup/glTF-Sample-Assets

Grayscale and baseColorTexture and emissiveTexture

Open
#67 4 comments 0 reactions 1 assignee Claimed by @lexaknyazev View on GitHub
Dominant language
TypeScript
Stars
1.1k
Forks
107
Avg merge
9h 39m
Merged PRs (30d)
4

Description

TextureEncodingTest has two textures (SlotLabels.png, TestLabels.png) which are PNG files containing grayscale + alpha.

Looking at the specification, both [pbrMetallicRoughness.baseColorTexture](https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#pbrmetallicroughnessbasecolortexture) and [material.emissiveTexture](https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#materialemissivetexture) are RGB plus optional alpha.
Is it expected that implementations expand grayscale to match the required components?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.