renderer: render blur on fade out (#10356)

This commit is contained in:
Vaxry 2025-05-10 18:31:26 +01:00 committed by GitHub
parent 60cd5b7a48
commit f58bb72d3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 90 additions and 45 deletions

View file

@ -11,13 +11,16 @@ class CTexPassElement : public IPassElement {
struct SRenderData {
SP<CTexture> tex;
CBox box;
float a = 1.F;
float a = 1.F;
float blurA = 1.F;
CRegion damage;
int round = 0;
float roundingPower = 2.0f;
bool flipEndFrame = false;
std::optional<Mat3x3> replaceProjection;
CBox clipBox;
bool blur = false;
std::optional<float> ignoreAlpha;
};
CTexPassElement(const SRenderData& data);