Does Static Switches with Multiple Textures Hurt performance?

Hello, Everyone!

I’m working on a material that uses several Static Switches but I wanted to know about its uses.

The image shows an example. I want the material to have several logics applied with different textures and logics. Here’s the result in the example

Switch 1:

Switch 2:

But when I look at the statistics table in UE, It shows that both Textures are loaded:

Does that also happens in the final build? Is the material loading every single texture even when they’re not being used?

These are one of those moments where you should learn to test in a packaged build, just… do an empty scene, put the thing in there with one of the texture chosen and package it up and test it. Then just do a memory dump of the package and you will have your answer.

1 Like

What do you mean by memory dump?
Do you mean using a software like renderdoc or something like that?