- add gl_dither for toggling dithered output on and off

This commit is contained in:
Magnus Norddahl 2018-08-08 21:58:23 +02:00
commit d121fa21bf
6 changed files with 19 additions and 3 deletions

View file

@ -18,6 +18,8 @@ public:
int GrayFormula;
int WindowPositionParity; // top-of-window might not be top-of-screen
FVector2 Scale;
float ColorScale;
float Padding1, Padding2, Padding3;
static std::vector<UniformFieldDesc> Desc()
{
@ -30,6 +32,7 @@ public:
{ "GrayFormula", UniformType::Int, offsetof(UniformBlock, GrayFormula) },
{ "WindowPositionParity", UniformType::Int, offsetof(UniformBlock, WindowPositionParity) },
{ "UVScale", UniformType::Vec2, offsetof(UniformBlock, Scale) },
{ "ColorScale", UniformType::Float, offsetof(UniformBlock, ColorScale) },
};
}
};