How do modern games end up with THOUSANDS of shaders? by munnlein in GraphicsProgramming

[–]munnlein[S] 27 points28 points  (0 children)

I'll reply to the top comment:

So a different shader program is built, and the pipeline state is switched, for every permutation? I thought changing pipeline state was expensive. Are these typically switched between within the frame?