Mixing multiples shaders in Eevee

hey thanks a lot for that elaborated answer !
That gives ideas of new possibilities !
I have run some test to see the difference between mixing shaders and mixing textures.


I’ve mixed 4 materials made of 3 textures each.

  • When I combine the shaders I get around 25ms to draw the scene
  • When I combine textures I get around 11ms

Memory wise it doesn’t seem to change, which seems logical.

So as you said, it’s better to avoid it when possible, but the sky won’t fall if we do it from time to time.
And it’s also true that sometimes this is unavoidable.

If you want better performances it’s better to mix textures, if you want faster and simpler setups mixing shaders is the way to go.