mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-09 17:52:08 -10:00
* Slots for custom post processing effects Post processing effects such as tint or dithering have their uniforms hardcoded, which means the only want to create new post-process effects for a mod is to overwrite an existing effect. Requested for DEM2, this PR creates 4 blank slots for mods to create new post processing effects--2 floats and 2 vec3. This approach to create blank slots for modders follows the successful strategy used for Custom_Controls 1-5. Note, this PR also adds `tint` to the default `post_processing.tbl` which had it missing (even though tint is a valid effect with a valid uniform buffer already). Happy to discuss more or edit however. * fix ordering
77 lines
1.6 KiB
Plaintext
77 lines
1.6 KiB
Plaintext
#Effects
|
|
|
|
$Name: distort noise
|
|
$Uniform: noise_amount
|
|
$Define: FLAG_DISTORT_NOISE
|
|
$AlwaysOn: false
|
|
$Default: 0.0
|
|
$Div: 20000
|
|
$Add: 0
|
|
|
|
$Name: saturation
|
|
$Uniform: saturation
|
|
$Define: FLAG_SATURATION
|
|
$AlwaysOn: false
|
|
$Default: 0.9
|
|
$Div: 50
|
|
$Add: 0
|
|
|
|
$Name: brightness
|
|
$Uniform: brightness
|
|
$Define: FLAG_BRIGHTNESS
|
|
$AlwaysOn: false
|
|
$Default: 1.11
|
|
$Div: 50
|
|
$Add: 0
|
|
|
|
$Name: contrast
|
|
$Uniform: contrast
|
|
$Define: FLAG_CONTRAST
|
|
$AlwaysOn: false
|
|
$Default: 1.015
|
|
$Div: 50
|
|
$Add: 0
|
|
|
|
$Name: film grain
|
|
$Uniform: film_grain
|
|
$Define: FLAG_GRAIN
|
|
$AlwaysOn: false
|
|
$Default: 0.1
|
|
$Div: 50
|
|
$Add: 0
|
|
|
|
$Name: stripes
|
|
$Uniform: tv_stripes
|
|
$Define: FLAG_STRIPES
|
|
$AlwaysOn: false
|
|
$Default: 0.0
|
|
$Div: 50
|
|
$Add: 0
|
|
|
|
$Name: cutoff
|
|
$Uniform: cutoff
|
|
$Define: FLAG_CUTOFF
|
|
$AlwaysOn: false
|
|
$Default: 2.0
|
|
$Div: 50
|
|
$Add: 0.0
|
|
|
|
$Name: dithering
|
|
$Uniform: dither
|
|
$Define: FLAG_DITH
|
|
$AlwaysOn: false
|
|
$Default: 0.0
|
|
$Div: 50
|
|
$Add: 0
|
|
|
|
$Name: tint
|
|
$Uniform: tint
|
|
$Define: FLAG_TINT
|
|
$AlwaysOn: false
|
|
$Default: 0.0
|
|
$Div: 1
|
|
$Add: 0
|
|
$RGB: 0.2,0.2,0.2
|
|
|
|
#End
|