So, instead of writing four stings like this:
Code: Select all
float fVanillaBloom = lerp(fVanillaBloomInt.x, fVanillaBloomInt.y, JKNightDayFactor);
if ( JKInteriorFactor - 1 ) {
fVanillaBloom = lerp(fVanillaBloomExt.x, fVanillaBloomExt.y, JKNightDayFactor);
};
Code: Select all
float fVanillaBloom = DNIFactor(fVanillaBloomExt.x, fVanillaBloomExt.y, fVanillaBloomInt.x, fVanillaBloomInt.y, JKNightDayFactor, JKInteriorFactor);
Of course, you are right - it's not a really major improvement. It saved a lot of my nerves, so I just thought it can save someone else's nerves too