pex-gl / pex-renderer

Physically based renderer (PBR) and scene graph for PEX.
https://pex-gl.github.io/pex-renderer/examples/index.html
MIT License
237 stars 16 forks source link

[glTF] alphaMode blend sets depthWrite to false in loaders #372

Open dmnsgn opened 5 months ago

dmnsgn commented 5 months ago

Why?

vorg commented 5 months ago

I think it's because if transparent geometries write to depth buffer they would occlude each other? We would need some for of order independent transparency for it to work.