PostFX analític: PostFXParams/Preset amb chroma_min/max + scan_*, elimina supersampling
This commit is contained in:
@@ -29,12 +29,6 @@ namespace Options {
|
||||
std::string preferred_driver = Defaults::Video::GPU_PREFERRED_DRIVER;
|
||||
};
|
||||
|
||||
struct Supersampling {
|
||||
bool enabled = Defaults::Video::SUPERSAMPLING;
|
||||
bool linear_upscale = Defaults::Video::LINEAR_UPSCALE;
|
||||
int downscale_algo = Defaults::Video::DOWNSCALE_ALGO;
|
||||
};
|
||||
|
||||
struct ShaderConfig {
|
||||
bool enabled = Defaults::Video::SHADER_ENABLED;
|
||||
Rendering::ShaderType current_shader = Rendering::ShaderType::POSTFX;
|
||||
@@ -50,7 +44,6 @@ namespace Options {
|
||||
bool vsync = Defaults::Video::VSYNC;
|
||||
bool integer_scale = Defaults::Video::INTEGER_SCALE;
|
||||
GPU gpu;
|
||||
Supersampling supersampling;
|
||||
ShaderConfig shader;
|
||||
};
|
||||
|
||||
@@ -92,12 +85,16 @@ namespace Options {
|
||||
std::string name;
|
||||
float vignette{0.0F};
|
||||
float scanlines{0.0F};
|
||||
float chroma{0.0F};
|
||||
float chroma_min{0.0F};
|
||||
float chroma_max{0.0F};
|
||||
float mask{0.0F};
|
||||
float gamma{0.0F};
|
||||
float curvature{0.0F};
|
||||
float bleeding{0.0F};
|
||||
float flicker{0.0F};
|
||||
float scan_dark_ratio{0.333F};
|
||||
float scan_dark_floor{0.42F};
|
||||
float scan_edge_soft{1.0F};
|
||||
};
|
||||
|
||||
// Preset CrtPi
|
||||
|
||||
Reference in New Issue
Block a user