This extension might help for that, to handle per-mesh uniforms, so you can change the uniforms before each drawcall.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Clone a ShaderMaterial and Have Different Uniforms for Different Copies of the Material | 3 | 1647 | March 29, 2023 | |
Custom geometry with additional data on shader | 4 | 538 | April 20, 2021 | |
Making two material with same shader | 14 | 627 | February 10, 2023 | |
Sharing uniforms between different programs | 3 | 65 | December 21, 2024 | |
How to re-use shaders? | 3 | 590 | April 8, 2021 |