pex-renderer
pex-renderer copied to clipboard
GLTF: Flipped normals for doublesided materials
Expected

Actual

Caused by normal flipping with a gltf geometry that has doubleSided: true
data.normalView *= float(gl_FrontFacing) * 2.0 - 1.0;