Skip to main content
Version: bleeding-edge ๐Ÿฉธ

๐Ÿ–ผ๏ธ PostProcess

Interaction with Post Process effects.

๐Ÿ—ฟStatic ClassClient Only๐Ÿง‘โ€๐Ÿ’ปAPI Source

๐Ÿ—ฟย Static Functionsโ€‹

ReturnsNameDescription
RemoveMaterialRemoves the current Post Process Material
SetBloomSet Post Process Bloom Settings
SetChromaticAberrationSet Post Process Chromatic Aberration Settings
SetExposureSet Post Process Exposure Settings
SetFilmSet Post Process Film Settings
SetGlobalContrastSet Post Process Global Contrast
SetGlobalGainSet Post Process Global Gain
SetGlobalGammaSet Post Process Global Gamma
SetGlobalOffsetSet Post Process Global Offset
SetGlobalSaturationSet Post Process Saturation Colors. Use Alpha for overall Saturation intensity
SetImageEffectsSet Post Process Image Effect Settings
SetLookupTableSet Post Process Lookup Table (LUT) Texture
SetMaterialSets a Post Process Material

Optimal

RemoveMaterialโ€‹

Removes the current Post Process Material
PostProcess.RemoveMaterial()

Optimal

SetBloomโ€‹

Set Post Process Bloom Settings
PostProcess.SetBloom(intensity?, threshold?)

Parameters

TypeParameterDefaultDescription
floatintensity?0.675
Bloom intensity
floatthreshold?-1
Minimum brightness for a pixel to bloom

Optimal

SetChromaticAberrationโ€‹

Set Post Process Chromatic Aberration Settings
PostProcess.SetChromaticAberration(intensity?, start_offset?)

Parameters

TypeParameterDefaultDescription
floatintensity?0
Chromatic aberration intensity
floatstart_offset?0
Distance from the screen center where it starts (0 to 1)

Optimal

SetExposureโ€‹

Set Post Process Exposure Settings
PostProcess.SetExposure(exposure_compensation?, min_ev100?, max_ev100?, low_percent?, high_percent?)

Parameters

TypeParameterDefaultDescription
floatexposure_compensation?1
Exposure bias, in EV
floatmin_ev100?-10
Min auto exposure brightness, in EV100
floatmax_ev100?20
Max auto exposure brightness, in EV100
floatlow_percent?10
Histogram low percentage used by auto exposure
floathigh_percent?90
Histogram high percentage used by auto exposure

Optimal

SetFilmโ€‹

Set Post Process Film Settings
PostProcess.SetFilm(slope?, toe?, shoulder?, black_clip?, white_clip?)

Parameters

TypeParameterDefaultDescription
floatslope?0.8
Steepness of the tonemapper S-curve
floattoe?0.55
Adjusts the dark tones
floatshoulder?0.26
Adjusts the bright tones
floatblack_clip?0
Where the dark tones clip
floatwhite_clip?0.3
Where the bright tones clip

Optimal

SetGlobalContrastโ€‹

Set Post Process Global Contrast
PostProcess.SetGlobalContrast(contrast)

Parameters

TypeParameterDefaultDescription
Colorcontrast Required parameter The new Post Process Global Contrast

Optimal

SetGlobalGainโ€‹

Set Post Process Global Gain
PostProcess.SetGlobalGain(gain)

Parameters

TypeParameterDefaultDescription
Colorgain Required parameter The new Post Process Global Gain

Optimal

SetGlobalGammaโ€‹

Set Post Process Global Gamma
PostProcess.SetGlobalGamma(gamma)

Parameters

TypeParameterDefaultDescription
Colorgamma Required parameter The new Post Process Global Gamma

Optimal

SetGlobalOffsetโ€‹

Set Post Process Global Offset
PostProcess.SetGlobalOffset(offset)

Parameters

TypeParameterDefaultDescription
Coloroffset Required parameter The new Post Process Global Offset

Optimal

SetGlobalSaturationโ€‹

Set Post Process Saturation Colors. Use Alpha for overall Saturation intensity
PostProcess.SetGlobalSaturation(color)

Parameters

TypeParameterDefaultDescription
Colorcolor Required parameter The new Post Process Saturation Colors. Use Alpha for overall Saturation intensity

Optimal

SetImageEffectsโ€‹

Set Post Process Image Effect Settings
PostProcess.SetImageEffects(vignette_intensity?, film_grain_intensity?)

Parameters

TypeParameterDefaultDescription
floatvignette_intensity?0.6
Darkening of the screen edges
floatfilm_grain_intensity?0
Amount of film grain noise

Slow

SetLookupTableโ€‹

Set Post Process Lookup Table (LUT) Texture
PostProcess.SetLookupTable(texture_path)

Parameters

TypeParameterDefaultDescription
Image Pathtexture_path Required parameter The new Post Process Lookup Table (LUT) Texture

Slow

SetMaterialโ€‹

Sets a Post Process Material
PostProcess.SetMaterial(material_path)

Parameters

TypeParameterDefaultDescription
Material Referencematerial_path Required parameter The Material Asset to set as Post Process

๐Ÿš€ย Eventsโ€‹

This class doesn't have own events.