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
234 stars 16 forks source link

Changing material.blend updates geometryPipeline #254

Closed vorg closed 4 years ago

vorg commented 4 years ago

How?

vorg commented 4 years ago

Changing material.blend pushes flags.push('#define USE_BLEND') flag which changes shader which triggers pipeline rebuild