Skip to content

Render Effects Profile โ€‹

Render Effects Profiles store a variety of settings that affect how a scene is rendered. The main advantage of render effects profiles is that they make it easy to load presets into a camera. Use FxCamera to load and save profiles.

Properties โ€‹

NameTypeDefaultAccessDescription
aaEnable1btrue๐ŸŸฉ๐ŸŸฅEnable anti-aliasing
aoEnable1btrue๐ŸŸฉ๐ŸŸฅEnable ambient occlusion
aoIntensity1f5.0๐ŸŸฉ๐ŸŸฅAmbient occlusion intensity
aoRadius1f2.0๐ŸŸฉ๐ŸŸฅAmbient occlusion radius
bloomEnable1bfalse๐ŸŸฉ๐ŸŸฅEnable bloom
bloomIntensity1f1.0๐ŸŸฉ๐ŸŸฅBloom intensity
bloomThreshold1f1.0๐ŸŸฉ๐ŸŸฅBloom threshold
caEnable1bfalse๐ŸŸฉ๐ŸŸฅEnable chromatic abberation
caIntensity1f0.5๐ŸŸฉ๐ŸŸฅChromatic abberation intensity
caShift2f(2.5,ย -0.5)๐ŸŸฉ๐ŸŸฅChromatic abberation shift
ccEnable1bfalse๐ŸŸฉ๐ŸŸฅEnable color correction
ccBrightness1f0.0๐ŸŸฉ๐ŸŸฅColor correction brightness shift
ccContrast1f0.0๐ŸŸฉ๐ŸŸฅColor correction contrast shift
ccHue1f0.0๐ŸŸฉ๐ŸŸฅColor correction hue shift
ccSaturation1f0.0๐ŸŸฉ๐ŸŸฅColor correction saturation shift
ccTintColor1c0xFFFF0000๐ŸŸฉ๐ŸŸฅColor correction tint color
ccTintIntensity1f0.0๐ŸŸฉ๐ŸŸฅColor correction tint i
cgEnable1bfalse๐ŸŸฉ๐ŸŸฅEnable color grading
cgLutContribution1f1.0๐ŸŸฉ๐ŸŸฅColor grading lookup table contribution
cgLutFile1s"default"๐ŸŸฉ๐ŸŸฅColor grading lookup table LUTย FileID (no list, wildcard or filter)
distortEnable1bfalse๐ŸŸฉ๐ŸŸฅEnable distortion
distortX1f0.5๐ŸŸฉ๐ŸŸฅHorizontal distortion
distortY1f0.5๐ŸŸฉ๐ŸŸฅVertical distortion
dofEnable1bfalse๐ŸŸฉ๐ŸŸฅEnable depth of field
dofFocalLength1f12.0๐ŸŸฉ๐ŸŸฅDepth of field focal length
dofFocusDistance1f50.0๐ŸŸฉ๐ŸŸฅDepth of field docus distance
dofFStop1f5.6๐ŸŸฉ๐ŸŸฅDepth of field F-stop
exposure1f1.0๐ŸŸฉ๐ŸŸฅColor correction exposure multiplier
fisheyeEnable1bfalse๐ŸŸฉ๐ŸŸฅEnable fisheye lens
fisheyeIntensity1f0.2๐ŸŸฉ๐ŸŸฅFisheye intensity
fogColor1c0xffffffff๐ŸŸฉ๐ŸŸฅFog color
fogDensity1f0.5๐ŸŸฉ๐ŸŸฅFog density
fogEnable1bfalse๐ŸŸฉ๐ŸŸฅEnable fog
gamma1f2.2๐ŸŸฉ๐ŸŸฅGamma correction
grainIntensity1f12.0๐ŸŸฉ๐ŸŸฅGrain intensity
grainEnable1bfalse๐ŸŸฉ๐ŸŸฅEnable grain
grainStatic1bfalse๐ŸŸฉ๐ŸŸฅWhether grain changes every frame
lensFlareEnable1bfalse๐ŸŸฉ๐ŸŸฅEnable lens flare
lensTextureEnable1bfalse๐ŸŸฉ๐ŸŸฅEnable lens texture
lensTextureFile1s"default"๐ŸŸฉ๐ŸŸฅLens Textureย FileID (no list, wildcard or filter)
lensTextureFilter1i1๐ŸŸฉ๐ŸŸฅTextureFilter
letterBoxEnable1bfalse๐ŸŸฉ๐ŸŸฅEnable letter box
letterBoxSize1f0.1๐ŸŸฉ๐ŸŸฅLetter box size
overlayAlign1i0๐ŸŸฉ๐ŸŸฅOverlay texture alignment RectAlign
overlayEnable1bfalse๐ŸŸฉ๐ŸŸฅEnable overlay
overlayFile1s"default"๐ŸŸฉ๐ŸŸฅOverlay Textureย FileID (no list, wildcard or filter)
overlayOffset2i(0,ย 0)๐ŸŸฉ๐ŸŸฅOverlay texture offset
overlayOpacity1f1.0๐ŸŸฉ๐ŸŸฅOverlay texture opacity
sharpenEnable1bfalse๐ŸŸฉ๐ŸŸฅEnable sharpen
sharpenIntensity1f0.4๐ŸŸฉ๐ŸŸฅSharpen intensity
toneMapping1i0๐ŸŸฉ๐ŸŸฅToneMapping algorithm
vignetteEnable1bfalse๐ŸŸฉ๐ŸŸฅEnable vignette
vignetteIntensity1f1.0๐ŸŸฉ๐ŸŸฅVignette intensity
vignetteSize1f0.5๐ŸŸฉ๐ŸŸฅVignette size
Details

Type
1b: boolean
1c: color (integer)
1i: integer
1f: float
1s: string
2b: 2-component boolean vector
2i: 2-component integer vector
2f: 2-component float vector
3b: 3-component boolean vector
3i: 3-component integer vector
3f: 3-component float vector

Access
๐ŸŸฉ : Property value can be read with FxFile.Get
๐ŸŸฅ : Property value can be changed with FxFile.Set
โŒ : Property value is read-only and can't be changed

Create โ€‹

To create a new render effects profile use FxFile.Create with FileType 556.

lua
profileID = FxFile.Create(556);
profileID = FxFile.Rename(556, profileID, "MyProfile"); -- rename new profile
FxFile.Open(556, profileID); -- open new profile

Files โ€‹

The global render effects profile is located at documents\Foxel\default.fxlrfx. It saves the settings of the main editing viewport. Other custom profiles are saved as shared files in Shared\Profile\RenderEffects\ with the extension .fxlrfx.