i have a question about draw calls. We are making a web app using BJS that will be used on smartphones. Our scene will only display one subject : a rigged robots made of different parts, and that’s all. My question is about the shader / draw call optimization. There will be 50 sub parts that i want to be :
- Dynamic in color (calling a color layer above each one that could be “animated” by changing color.)
I don’t want to use 50 different shaders to limit the draw calls. For the highlight part there is a very usefull function, but i can’t find anything for “coloring” an object above it’s shader by just calling it like highlight function do.
Is this possible ?
Thank you very much.