Download

Material Editor: Switch based on LOD level

I have a material that gets quite expensive once everything is turned on. I’m using Switch Parameters to turn on and off different features.
I have 4 different LOD levels, and I was wondering if there’s a way to use some sort of switch that will turn off features for different LOD levels. I’m kind of guessing this is not possible as it’ll affect all of the instances of the same material maybe?
If that’s not possible, is there a way I can output or link different parts of the nodes to like an LOD output or so?

Something like the attached image:

Ignore the BentNormal output, it’s only reference, but instead of that, something that will link the LOD level so different states of the material complexity can be assigned to it.

The reason why I want to do this this way, is because I created materials where I can change the color of our buildings, and the assets get a material override of the same instance, but with different color, so having to switch the LOD manually for each assets for a less expensive material would be impossible pretty much.

Is there a way to achieve this?