Whats more advisable in terms of instruction count?

Hey! Im fairly advanced id say into UE now but i never thought about anything in terms of optimization or making good structured materials with not too calls and overhead.
TL;DR i just show what i mean:

Lets say we have this setup:


This could be simplified down to just 1 Texture Coordinate node, pluggin into every A of the Multiplys. Does this even matter in terms of “performance”? Taking this one deeper, lets say we are in a collapsed node and i already called Texture Coordinate earlier, is it advisable to make a input node and reuse it?

You can test it with the Stat window:


The instruction count depend on multiple thing like BlendMode, ShaderType, and using specific node for example like [Texture Bombing]

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