(Above is shader complexity overlay. Left is Material 1, right is Material 2 (The one with many nodes))
Is material 1 much more performant than material 2? Is the performance difference significant or is it negligible after build?
Is material 1 much more performant than material 2? Is the performance difference significant or is it negligible after build?
For others reading this. This is the reply made by Coco [Ciji Games] on a Discord channel:
“So everything is good
The number of nodes doens’t matter, what matter is the computational cost of each node.
100 mutiply nodes will be 100 instructions
1 world aligned node is probably 100 instructions on its own
1 dynamic perlin noise is probably 30 instructions on its own as well. (that’s why a noise texture is better)
(example numbers)
I can’t see wich node you are using but it looks like a bunch of basic math (+ / * ) that why the instruction number isn’t that different.”
Huge thanks go to Coco [Ciji Games] for his input. He also suggested showing the stats in the material so that the number of instruction is shown and to use the diagnostic display to show the shader complexity in the viewport.