Custom Function LOD Branch ?

Hi everyone,

I’m trying to create a shader that switches according to the current LOD of an object, but I’m having trouble figuring out the correct syntax, I’m hopeful it’s a simple code and I just lack the knowledge to write it down myself,

Any help is really appreciated!.

You have the output named LODFade, that’s the exact name of the value you need to be setting to true or false. You’re also testing a value named lodValue, but you have no inputs to that node so that is an undefined variable.

Hovering your cursor over the red bubble with the ! in it should give you the errors.