6 #ifndef POSTPROCESS_PRESETS_H
7 #define POSTPROCESS_PRESETS_H
11 #define BANDING_COMMON_BASE \
12 .active_effects = (unsigned int)POSTFX_EXPOSURE | \
13 (unsigned int)POSTFX_BANDING | \
14 (unsigned int)POSTFX_FXAA, \
15 .vignette = {.intensity = DEFAULT_VIGNETTE_INTENSITY, \
16 .smoothness = DEFAULT_VIGNETTE_SMOOTHNESS, \
17 .roundness = DEFAULT_VIGNETTE_ROUNDNESS}, \
18 .grain = {.intensity = DEFAULT_GRAIN_INTENSITY, \
19 .intensity_shadows = 1.0F, \
20 .intensity_midtones = 1.0F, \
21 .intensity_highlights = 1.0F, \
22 .shadows_max = 0.09F, \
23 .highlights_min = 0.5F, \
24 .texel_size = 1.0F}, \
25 .exposure = {.exposure = DEFAULT_EXPOSURE}, \
26 .chrom_abbr = {.strength = DEFAULT_CHROM_ABBR_STRENGTH}, \
27 .white_balance = {.temperature = DEFAULT_WB_TEMP, \
28 .tint = DEFAULT_WB_TINT}, \
29 .tonemapper = {.slope = DEFAULT_FILMIC_SLOPE, \
30 .toe = DEFAULT_FILMIC_TOE, \
31 .shoulder = DEFAULT_FILMIC_SHOULDER, \
32 .black_clip = DEFAULT_FILMIC_BLACK_CLIP, \
33 .white_clip = DEFAULT_FILMIC_WHITE_CLIP}, \
34 .bloom = {.intensity = 0.0F, \
36 .soft_threshold = 0.5F, \
38 .dof = {.focal_distance = DEFAULT_DOF_FOCAL_DISTANCE, \
39 .focal_range = DEFAULT_DOF_FOCAL_RANGE, \
40 .bokeh_scale = DEFAULT_DOF_BOKEH_SCALE, \
41 .anamorphic_ratio = 1.0F}, \
42 .fxaa = {.subpix = DEFAULT_FXAA_SUBPIX, \
43 .edge_threshold = DEFAULT_FXAA_EDGE_THRESHOLD, \
44 .edge_threshold_min = DEFAULT_FXAA_EDGE_THRESHOLD_MIN}
53 .intensity_shadows = 1.0F,
54 .intensity_midtones = 1.0F,
55 .intensity_highlights = 1.0F,
57 .highlights_min = 0.5F,
62 .color_grading = {.saturation = 1.0F,
72 .bloom = {.intensity = 0.0F,
74 .soft_threshold = 0.5F,
79 .anamorphic_ratio = 1.0F},
86 .dither_strength = 0.0F,
87 .perceptual_gamma = 1.0F,
96 .vignette = {.intensity = 0.3F, .smoothness = 0.5F, .roundness = 1.0F},
97 .grain = {.intensity = 0.02F,
98 .intensity_shadows = 1.0F,
99 .intensity_midtones = 1.0F,
100 .intensity_highlights = 1.0F,
101 .shadows_max = 0.09F,
102 .highlights_min = 0.5F,
105 .chrom_abbr = {.strength = 0.01F},
107 .color_grading = {.saturation = 1.0F,
117 .bloom = {.intensity = 0.02F,
119 .soft_threshold = 0.5F,
124 .anamorphic_ratio = 1.0F},
131 .dither_strength = 0.0F,
132 .perceptual_gamma = 1.0F,
143 .vignette = {.intensity = 0.5F, .smoothness = 0.6F, .roundness = 0.5F},
144 .grain = {.intensity = 0.03F,
145 .intensity_shadows = 1.2F,
146 .intensity_midtones = 1.0F,
147 .intensity_highlights = 0.8F,
148 .shadows_max = 0.09F,
149 .highlights_min = 0.5F,
151 .exposure = {.exposure = 1.2F},
152 .chrom_abbr = {.strength = 0.015F},
153 .white_balance = {.temperature = 6500.0F, .tint = -0.05F},
154 .color_grading = {.saturation = 1.0F,
164 .bloom = {.intensity = 0.04F,
166 .soft_threshold = 0.5F,
171 .anamorphic_ratio = 1.0F},
178 .dither_strength = 0.0F,
179 .perceptual_gamma = 1.0F,
189 .vignette = {.intensity = 0.7F, .smoothness = 0.8F, .roundness = 1.0F},
190 .grain = {.intensity = 0.06F,
191 .intensity_shadows = 1.5F,
192 .intensity_midtones = 1.0F,
193 .intensity_highlights = 0.5F,
194 .shadows_max = 0.15F,
195 .highlights_min = 0.6F,
197 .exposure = {.exposure = 0.9F},
198 .chrom_abbr = {.strength = 0.02F},
199 .white_balance = {.temperature = 5500.0F, .tint = 0.05F},
200 .color_grading = {.saturation = 0.8F,
210 .bloom = {.intensity = 0.0F,
212 .soft_threshold = 0.5F,
217 .anamorphic_ratio = 1.0F},
224 .dither_strength = 0.0F,
225 .perceptual_gamma = 1.0F,
237 .intensity_shadows = 1.0F,
238 .intensity_midtones = 1.0F,
239 .intensity_highlights = 1.0F,
240 .shadows_max = 0.09F,
241 .highlights_min = 0.5F,
245 .white_balance = {.temperature = 7500.0F, .tint = 0.2F},
246 .color_grading = {.saturation = 0.5F,
256 .bloom = {.intensity = 0.2F,
258 .soft_threshold = 0.5F,
263 .anamorphic_ratio = 1.0F},
270 .dither_strength = 0.0F,
271 .perceptual_gamma = 1.0F,
282 .intensity_shadows = 1.0F,
283 .intensity_midtones = 1.0F,
284 .intensity_highlights = 1.0F,
285 .shadows_max = 0.09F,
286 .highlights_min = 0.5F,
291 .color_grading = {.saturation = 0.0F,
301 .bloom = {.intensity = 0.0F,
303 .soft_threshold = 0.5F,
308 .anamorphic_ratio = 1.0F},
315 .dither_strength = 0.0F,
316 .perceptual_gamma = 1.0F,
323 .color_grading = {.saturation = 1.5F,
330 .dither_strength = 0.0F,
331 .perceptual_gamma = 1.0F,
332 .channel_levels = {4.0F, 4.0F, 4.0F}}};
337 .color_grading = {.saturation = 0.5F,
344 .dither_strength = 1.5F,
345 .perceptual_gamma = 1.0F,
346 .channel_levels = {8.0F, 8.0F, 8.0F}}};
351 .color_grading = {.saturation = 1.0F,
358 .dither_strength = 0.0F,
359 .perceptual_gamma = 2.2F,
360 .channel_levels = {12.0F, 12.0F, 12.0F}}};
365 .color_grading = {.saturation = 1.0F,
372 .dither_strength = 0.0F,
373 .perceptual_gamma = 1.0F,
374 .channel_levels = {8.0F, 8.0F, 4.0F}}};
379 .color_grading = {.saturation = 1.0F,
386 .dither_strength = 0.0F,
387 .perceptual_gamma = 1.0F,
388 .channel_levels = {0.1F, 0.4F, 0.9F}}};
404 .vignette = {.intensity = 0.45F, .smoothness = 0.7F, .roundness = 0.6F},
406 .grain = {.intensity = 0.25F,
407 .intensity_shadows = 1.3F,
408 .intensity_midtones = 1.0F,
409 .intensity_highlights = 0.4F,
410 .shadows_max = 0.15F,
411 .highlights_min = 0.55F,
414 .exposure = {.exposure = 0.85F},
416 .chrom_abbr = {.strength = 0.003F},
417 .white_balance = {.temperature = 4050.0F, .tint = -0.04F},
419 .color_grading = {.saturation = 0.88F,
426 .tonemapper = {.slope = 0.88F,
430 .white_clip = 0.01F},
432 .bloom = {.intensity = 0.09F,
434 .soft_threshold = 0.55F,
440 .anamorphic_ratio = 1.0F},
442 .fxaa = {.subpix = 0.45F,
447 .dither_strength = 0.0F,
448 .perceptual_gamma = 1.0F,
453 .fog = {.density = 0.022F,
455 .height_falloff = 0.018F,
456 .color = {0.10F, 0.16F, 0.22F}}};
472 .vignette = {.intensity = 0.35F, .smoothness = 0.65F, .roundness = 0.8F},
474 .grain = {.intensity = 0.018F,
475 .intensity_shadows = 1.1F,
476 .intensity_midtones = 1.0F,
477 .intensity_highlights = 0.5F,
479 .highlights_min = 0.55F,
482 .exposure = {.exposure = 1.0F},
484 .white_balance = {.temperature = 6500.0F, .tint = 0.0F},
486 .color_grading = {.saturation = 1.04F,
493 .tonemapper = {.slope = 0.92F,
497 .white_clip = 0.005F},
499 .bloom = {.intensity = 0.035F,
501 .soft_threshold = 0.5F,
504 .dof = {.focal_distance = 16.0F,
506 .bokeh_scale = 12.0F,
507 .anamorphic_ratio = 2.0F},
508 .fxaa = {.subpix = 0.75F,
509 .edge_threshold = 0.125F,
510 .edge_threshold_min = 0.0625F},
513 .dither_strength = 0.0F,
514 .perceptual_gamma = 1.0F,
515 .channel_levels = {256.0F, 256.0F, 256.0F}},
516 .fog = {.density = 0.0F,
518 .height_falloff = 0.1F,
519 .color = {0.5F, 0.6F, 0.7F}},
521 .lut3d = {.intensity = 1.0F, .texture = 0, .size = 0}};
High-level post-processing pipeline and effects.
@ POSTFX_AUTO_EXPOSURE
Definition: postprocess.h:90
@ POSTFX_MOTION_BLUR
Definition: postprocess.h:94
@ POSTFX_COLOR_GRADING
Definition: postprocess.h:86
@ POSTFX_GRAIN
Definition: postprocess.h:82
@ POSTFX_FXAA
Definition: postprocess.h:97
@ POSTFX_DOF
Definition: postprocess.h:88
@ POSTFX_BLOOM
Definition: postprocess.h:85
@ POSTFX_LUT3D
Definition: postprocess.h:106
@ POSTFX_EXPOSURE
Definition: postprocess.h:83
@ POSTFX_FOG
Definition: postprocess.h:104
@ POSTFX_VIGNETTE
Definition: postprocess.h:81
@ POSTFX_CHROM_ABBR
Definition: postprocess.h:84
#define DEFAULT_FILMIC_SHOULDER
Definition: postprocess.h:72
@ BANDING_MODE_DITHERED
Definition: postprocess.h:206
@ BANDING_MODE_LINEAR
Definition: postprocess.h:205
@ BANDING_MODE_PERCEPTUAL
Definition: postprocess.h:207
@ BANDING_MODE_LUMINANCE
Definition: postprocess.h:209
@ BANDING_MODE_CHANNEL
Definition: postprocess.h:208
#define DEFAULT_VIGNETTE_SMOOTHNESS
Definition: postprocess.h:29
#define DEFAULT_FILMIC_SLOPE
Definition: postprocess.h:70
#define DEFAULT_FILMIC_BLACK_CLIP
Definition: postprocess.h:73
#define DEFAULT_DOF_BOKEH_SCALE
Definition: postprocess.h:50
#define DEFAULT_FXAA_EDGE_THRESHOLD
Definition: postprocess.h:44
#define DEFAULT_VIGNETTE_INTENSITY
Definition: postprocess.h:28
#define DEFAULT_CHROM_ABBR_STRENGTH
Definition: postprocess.h:36
#define DEFAULT_GRAIN_INTENSITY
Definition: postprocess.h:31
#define DEFAULT_DOF_FOCAL_RANGE
Definition: postprocess.h:49
#define DEFAULT_VIGNETTE_ROUNDNESS
Definition: postprocess.h:30
#define DEFAULT_DOF_FOCAL_DISTANCE
Definition: postprocess.h:48
#define DEFAULT_FXAA_EDGE_THRESHOLD_MIN
Definition: postprocess.h:45
#define DEFAULT_BANDING_LEVELS
Definition: postprocess.h:55
#define DEFAULT_EXPOSURE
Definition: postprocess.h:35
#define DEFAULT_FXAA_SUBPIX
Definition: postprocess.h:43
#define DEFAULT_WB_TINT
Definition: postprocess.h:67
#define DEFAULT_FILMIC_WHITE_CLIP
Definition: postprocess.h:74
#define DEFAULT_WB_TEMP
Definition: postprocess.h:66
#define DEFAULT_FILMIC_TOE
Definition: postprocess.h:71
static const PostProcessPreset PRESET_VINTAGE
Warm, grainy look.
Definition: postprocess_presets.h:184
#define BANDING_COMMON_BASE
Definition: postprocess_presets.h:11
static const PostProcessPreset PRESET_BLUEPRINT
Art style: Blueprint / Hologram.
Definition: postprocess_presets.h:377
static const PostProcessPreset PRESET_MATRIX
Cool, green-tinted look.
Definition: postprocess_presets.h:230
static const PostProcessPreset PRESET_DEFAULT
Default balanced settings.
Definition: postprocess_presets.h:47
static const PostProcessPreset PRESET_ANALOG
Art style: Perceptual (Analog-like).
Definition: postprocess_presets.h:349
static const PostProcessPreset PRESET_POSTERIZED
Art style: Posterized.
Definition: postprocess_presets.h:321
static const PostProcessPreset PRESET_CINEMATIC
Rich, high-contrast look.
Definition: postprocess_presets.h:137
static const PostProcessPreset PRESET_CHANNEL_GFX
Art style: Channel (VGA/CGA-like).
Definition: postprocess_presets.h:363
static const PostProcessPreset PRESET_SUBTLE
Subtle adjustments.
Definition: postprocess_presets.h:92
static const PostProcessPreset PRESET_BW_CONTRAST
High-contrast B&W.
Definition: postprocess_presets.h:276
static const PostProcessPreset PRESET_NORDIC_NOIR
Nordic Noir: Foggy neon-lit night with teal-orange split toning.
Definition: postprocess_presets.h:397
static const PostProcessPreset PRESET_SONY_A7SIII
Sony Alpha 7S III: Professional cinematic look (S-Cinetone/S-Log3 style).
Definition: postprocess_presets.h:465
static const PostProcessPreset PRESET_RETRO
Art style: Retro Computing (Dithered).
Definition: postprocess_presets.h:335
Snapshot of every configurable parameter in the pipeline.
Definition: postprocess.h:556
unsigned int active_effects
Definition: postprocess.h:557