renderer: render blur on fade out (#10356)
This commit is contained in:
parent
60cd5b7a48
commit
f58bb72d3a
8 changed files with 90 additions and 45 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue