I am still :ablobcatsweatsip: ing on Nostr: binkle [migrated to blacksky.co.uk] that's what this is for. You just have one shader ...
binkle (npub1kdy…2hnf) [migrated to blacksky.co.uk] (npub1srh…8g90) that's what this is for. You just have one shader file for all objects everywhere and the ifdefs cover different kinds of materials/objects. Typically one shader file will represent one stage of a pipeline (eg: lighting, earlyz, debug) and the permutations represent the different objects/materials.