pex-renderer
pex-renderer copied to clipboard
Implement Alpha Coverage
As per glTF spec:
https://github.com/KhronosGroup/glTF/blob/main/specification/2.0/Specification.adoc#alpha-coverage
pbrMetallicRoughness.baseColorFactor
The RGBA components of the base color of the material. The fourth component (A) is the alpha coverage of the material. The alphaMode property specifies how alpha is interpreted. These values are linear. If a baseColorTexture is specified, this value is multiplied with the texel values.
Also mentioned here https://github.com/pex-gl/pex-renderer/issues/98