For those who don’t know how to make a custom node:
-
Make
Customnode in the material graph.
-
Click it. Its details panel will look like this.
-
Paste this code (adapted from Lumen - Material Pass Replace Node - #2 by Phyronnaz)
Into theCodevalue.
#if LUMEN_CARD_CAPTURE
return Lumen;
#else
return Default;
#endif
- Add
DefaultandLumento the Inputs Array. - Give it a custom Description, So it doesn’t say “Custom”
- It should look like this now. You’re done!


