summaryrefslogtreecommitdiff
path: root/src/render/pass/TexPassElement.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2025-05-10 18:31:26 +0100
committerGitHub <noreply@github.com>2025-05-10 19:31:26 +0200
commitf58bb72d3a300dc482e9dc934101790c8707667d (patch)
tree8d05540c2dfa630241e016978437bf62023a7eee /src/render/pass/TexPassElement.hpp
parent60cd5b7a48af4a23717201d70395161a3bb4ab24 (diff)
renderer: render blur on fade out (#10356)
Diffstat (limited to 'src/render/pass/TexPassElement.hpp')
-rw-r--r--src/render/pass/TexPassElement.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/render/pass/TexPassElement.hpp b/src/render/pass/TexPassElement.hpp
index e98edd60..a9206d2d 100644
--- a/src/render/pass/TexPassElement.hpp
+++ b/src/render/pass/TexPassElement.hpp
@@ -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);