Hi everyone,
I want to make a custom shader builder for my shaders, so that I can build multiple times the same file setting different #defines... this way I can write a shader once, with multiple #defines setting the behaivor for when the engine provides a normalmap or uses x number of lights, if it has transparency, etc.
I believe this is called an Ubershader.
Has anyone built a custom builder in VisualStudio to do something like this? Or does anyone know of examples at how it can be done?.. I have no idea how to tell VisualStudio to build multiple times the same file passing different arguments.
Thanks!