Code: Select all
unsigned short keepTUCount;
// If additive, need lighting parameters & standard programs
if (isShadowTechniqueAdditive())
Code: Select all
unsigned short keepTUCount;
// If additive, need lighting parameters & standard programs
if (isShadowTechniqueAdditive() || !retPass->getVertexProgramName().empty())
Sure you could override EVERY material with custom integrated shaders, but this was a 1 line fix for hundreds of materials that just need a generic shadow technique.