|
| FilmSettings () |
|
| FilmSettings (const Any &any) |
|
bool | antialiasingEnabled () const |
|
float | antialiasingFilterRadius () const |
|
bool | antialiasingHighQuality () const |
|
float | bloomRadiusFraction () const |
| Bloom filter kernel radius as a fraction of the larger of image width/height. More...
|
|
float | bloomStrength () const |
| 0 = no bloom, 1 = blurred out image. More...
|
|
int | debugZoom () const |
| If > 1, enlarge pixels by this amount relative to the center of the screen for aid in debugging. More...
|
|
bool | diskFramebuffer () const |
| If true, only compute post-processing within a disk, for VR headsets. More...
|
|
ResampleFilter | downscaleFilter () const |
|
bool | effectsEnabled () const |
| If false, skips all processing and just blits to the output. More...
|
|
void | extendGBufferSpecification (GBuffer::Specification &spec) const |
|
Ensures the GBuffer specification has all the fields needed to render this effect More...
|
|
float | gamma () const |
| Monitor gamma used in tone-mapping. More...
|
|
bool | invertX () const |
| For use when targeting optically-inverted displays such as rear projectors, or other special cases. More...
|
|
bool | invertY () const |
| For use when targeting optically-inverted displays or other special cases. More...
|
|
void | makeGui (class GuiPane *, float maxSensitivity=10.0f, float sliderWidth=180, float controlIndent=0.0f) |
| Adds controls for these settings to the specified GuiPane. More...
|
|
float | sensitivity () const |
| Scale factor applied to the pixel values during exposeAndRender() More...
|
|
void | setAntialiasingEnabled (bool e) |
| Enabled screen-space antialiasing post-processing. More...
|
|
void | setAntialiasingFilterRadius (float f) |
| 0 = FXAA within a pixel. More...
|
|
void | setAntialiasingHighQuality (bool b) |
|
void | setBloomRadiusFraction (float f) |
|
void | setBloomStrength (float s) |
|
void | setBurnoutToneCurve () |
|
void | setCelluloidToneCurve () |
|
void | setContrastToneCurve () |
|
void | setDebugZoom (int z) |
|
void | setDiskFramebuffer (bool b) |
|
void | setDownscaleFilter (ResampleFilter f) |
|
void | setEffectsEnabled (bool b) |
|
void | setGamma (float g) |
|
void | setIdentityToneCurve () |
|
void | setInvertX (bool b) |
|
void | setInvertY (bool b) |
|
void | setNegativeToneCurve () |
|
void | setSaturateToneCurve () |
|
void | setSensitivity (float s) |
|
void | setSuperboostToneCurve () |
|
void | setTemporalAntialiasingEnabled (bool b) |
|
void | setUpscaleFilter (ResampleFilter f) |
|
void | setVignetteBottomStrength (float s) |
|
void | setVignetteSizeFraction (float s) |
|
void | setVignetteTopStrength (float s) |
|
bool | temporalAntialiasingEnabled () const |
|
Any | toAny () const |
|
const Spline< float > & | toneCurve () const |
|
ResampleFilter | upscaleFilter () const |
|
float | vignetteBottomStrength () const |
| Amount of darkness due to vignetting for the bottom of the screen, on the range [0, 1]. More...
|
|
float | vignetteSizeFraction () const |
| Fraction of the diagonal radius of the screen covered by vignette, on the range [0, 1]. More...
|
|
float | vignetteTopStrength () const |
| Amount of darkness due to vignetting for the top of the screen, on the range [0, 1]. More...
|
|
bool G3D::FilmSettings::diskFramebuffer |
( |
| ) |
const |
|
inline |
If true, only compute post-processing within a disk, for VR headsets.
The exact disk radius is different for each framebuffer within the Film stack pass and has been tuned to look good on all VR headsets.
This parameter must be set at runtime. It is not persisted to any files.
void G3D::FilmSettings::setAntialiasingEnabled |
( |
bool |
e | ) |
|
|
inline |
Enabled screen-space antialiasing post-processing.
This reduces the artifacts from undersampling edges but may blur textures. By default, this is disabled.
The antialiasing algorithm is "FXAA 13", which is a modified version of Timothy Lottes' FXAA 11 and 12 algorithms.