vsg-dev / vsgXchange

Utility library for converting data+materials to/from VulkanSceneGraph
MIT License
65 stars 40 forks source link

Fix to pass "Alpha Blend Mode Test" #180

Closed anormann1974 closed 8 months ago

anormann1974 commented 8 months ago

Pull Request Template

Description

Make a fix to successfully pass the glTF-AlphaBlendModeTest. When importing an opaque material, it is needed to set "pbr.alphaMaskCutoff" to zero. Otherwise the default value of 0.5 would be used, which is wrong for an opaque material.

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Tested against this model: AlphaBlendModeTest

Checklist: