KhronosGroup / glTF-Sample-Assets

To store all models and other assets related to glTF
257 stars 30 forks source link

Grayscale and baseColorTexture and emissiveTexture #67

Open armatti opened 3 years ago

armatti commented 3 years ago

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

Looking at the specification, both pbrMetallicRoughness.baseColorTexture and material.emissiveTexture are RGB plus optional alpha. Is it expected that implementations expand grayscale to match the required components?

lexaknyazev commented 3 years ago

Yes. We should probably mention that in the spec.

lexaknyazev commented 3 years ago

Even better, I'll make a dedicated test case for that. Thanks for pointing out!

DRx3D commented 7 months ago

There has been no response in over 20 months. Has the test case been create @lexaknyazev ?

If there is no response to this comment, then this issue will be closed by 27 Nov.

lexaknyazev commented 7 months ago

Please transfer, this test case should be made.