Advanced Bloom commit.

This commit is contained in:
Muzz
2025-02-25 14:02:15 +10:00
parent 21047ac8ac
commit 953cbb6e40
5 changed files with 567 additions and 305 deletions

View File

@@ -42,10 +42,13 @@ void BloomSettings::BlendWith(BloomSettings& other, float weight)
BLEND_BOOL(Enabled);
BLEND_FLOAT(Intensity);
BLEND_FLOAT(Threshold);
BLEND_FLOAT(BlurSigma);
BLEND_FLOAT(Limit);
BLEND_FLOAT(ThresholdKnee);
BLEND_FLOAT(Clamp);
BLEND_FLOAT(BaseMix);
BLEND_FLOAT(HighMix);
}
void ToneMappingSettings::BlendWith(ToneMappingSettings& other, float weight)
{
const bool isHalf = weight >= 0.5f;