Instance rendering with different shader programs

I am using an OpenglES 3.0 instanced rendering. I have about 1E10 Instances and about 10 shader programs. But each instance needs its own shader program. Maybe i can solve this problem by creating one large shader, that depends on Instance_ID. But this is not a solution to this problem ( for me ).

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.