You may find this thread on chainable-onBeforeCompile uniforms useful
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Chainable onBeforeCompile + Uniforms per Mesh | 18 | 6194 | June 30, 2021 | |
| Three.js how to combine multiple materials with onBeforeCompile | 0 | 858 | April 24, 2018 | |
| Getting no uniforms even when set in onBeforeCompile | 3 | 624 | June 11, 2021 | |
| onBeforeCompile does not update MeshStandardMaterial when material updated | 7 | 3537 | February 28, 2020 | |
| Learning shader patching for three.js | 4 | 4624 | April 9, 2018 |