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

DirectionalLight tries to dipose undefined pipeline #246

Closed vorg closed 4 years ago

vorg commented 4 years ago

Here directional-light.js#L104

ctx.dispose(this._shadowMapDrawCommand.pipeline)
dmnsgn commented 4 years ago

Related: https://github.com/pex-gl/pex-renderer/issues/223 (Trying to dispose undefined resource)

vorg commented 4 years ago

Closed as duplicate of https://github.com/pex-gl/pex-renderer/issues/223