KhronosGroup/glTF-Validator

Volume thickness vs. doubleSided

emackey opened this issue · 1 comments

A suggestion for an additional validation of KHR_materials_volume:

When thicknessFactor is nonzero, the polygon mesh is expected to be closed, manifold volume of material. Generally this implies that doubleSided should be false for meshes using such a material.

It may be too expensive to add a full manifold mesh test in here just for this, but issuing a warning on the use of doubleSided might be a good idea.

Implemented in #185. Please take a look.