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

[v4] material receiveShadows is not used #359

Open dmnsgn opened 5 months ago

dmnsgn commented 5 months ago

In v3, we used to set shadowQuality to 0 if it wasn't but in v4 it should probably be flagDefinitions:

[["material", "receiveShadows"], "RECEIVE_SHADOWS"],
[["options", "shadowQuality"], "SHADOW_QUALITY", { type: "value", requires: "RECEIVE_SHADOWS" }],

To be tested.