Material Node Performance: Multiply vs Lerp vs Switch

If you use multimply out lerp sistem aniway calculate all nodes you got in wind. If you use a switch node our switch parameter and in false set value to 0 our 1 depend what you want to be default value, it dont process the calculation until the condition become true. So you can make a realy complicated master material with alot of switch, and make them like parameters and with a mater material enable our disable what you need in different material istances, and it use minimum ammout of calculation in function what you enable.

I got a realy complicated master material that can arrive to more that 1000 calculation but if I got all disable it making 80 calculation

to see the difference

  • set a switch parameter
  • make a istance of your material (right click on material Create istance)
  • Double click your istance
  • After it calculate default material you got up on left side on the preview how much istruction your pc need to calculate to make this material
  • Now enable the switch and see the difference
1 Like