Website powered by

Prototyping ubershader

I extend my prototyping "uber shader" with 8 multi compile blocks. It using 3 vertex lightmodels include fake BRDF, Toon, multiple point lights variants. All blocks can work with each over and separatly. It's around 2k shader variants. In this case I minimise textures ang gradients using (as I like) and put lot of color properties fields on blocks. It's fastest way to get some interesting result with only mesh building with ProBuilder in Unity and paint some vertex colors for recolorise blocks. After fast tuning all of it puild on mobile app and test as demo. Profit!

Unity prototyping universal shader with couple of lighting models