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 โ
| Name | Type | Default | Access | Description |
|---|---|---|---|---|
aaEnable | 1b | true | ๐ฉ๐ฅ | Enable anti-aliasing |
aoEnable | 1b | true | ๐ฉ๐ฅ | Enable ambient occlusion |
aoIntensity | 1f | 5.0 | ๐ฉ๐ฅ | Ambient occlusion intensity |
aoRadius | 1f | 2.0 | ๐ฉ๐ฅ | Ambient occlusion radius |
bloomEnable | 1b | false | ๐ฉ๐ฅ | Enable bloom |
bloomIntensity | 1f | 1.0 | ๐ฉ๐ฅ | Bloom intensity |
bloomThreshold | 1f | 1.0 | ๐ฉ๐ฅ | Bloom threshold |
caEnable | 1b | false | ๐ฉ๐ฅ | Enable chromatic abberation |
caIntensity | 1f | 0.5 | ๐ฉ๐ฅ | Chromatic abberation intensity |
caShift | 2f | (2.5,ย -0.5) | ๐ฉ๐ฅ | Chromatic abberation shift |
ccEnable | 1b | false | ๐ฉ๐ฅ | Enable color correction |
ccBrightness | 1f | 0.0 | ๐ฉ๐ฅ | Color correction brightness shift |
ccContrast | 1f | 0.0 | ๐ฉ๐ฅ | Color correction contrast shift |
ccHue | 1f | 0.0 | ๐ฉ๐ฅ | Color correction hue shift |
ccSaturation | 1f | 0.0 | ๐ฉ๐ฅ | Color correction saturation shift |
ccTintColor | 1c | 0xFFFF0000 | ๐ฉ๐ฅ | Color correction tint color |
ccTintIntensity | 1f | 0.0 | ๐ฉ๐ฅ | Color correction tint i |
cgEnable | 1b | false | ๐ฉ๐ฅ | Enable color grading |
cgLutContribution | 1f | 1.0 | ๐ฉ๐ฅ | Color grading lookup table contribution |
cgLutFile | 1s | "default" | ๐ฉ๐ฅ | Color grading lookup table LUTย FileID (no list, wildcard or filter) |
distortEnable | 1b | false | ๐ฉ๐ฅ | Enable distortion |
distortX | 1f | 0.5 | ๐ฉ๐ฅ | Horizontal distortion |
distortY | 1f | 0.5 | ๐ฉ๐ฅ | Vertical distortion |
dofEnable | 1b | false | ๐ฉ๐ฅ | Enable depth of field |
dofFocalLength | 1f | 12.0 | ๐ฉ๐ฅ | Depth of field focal length |
dofFocusDistance | 1f | 50.0 | ๐ฉ๐ฅ | Depth of field docus distance |
dofFStop | 1f | 5.6 | ๐ฉ๐ฅ | Depth of field F-stop |
exposure | 1f | 1.0 | ๐ฉ๐ฅ | Color correction exposure multiplier |
fisheyeEnable | 1b | false | ๐ฉ๐ฅ | Enable fisheye lens |
fisheyeIntensity | 1f | 0.2 | ๐ฉ๐ฅ | Fisheye intensity |
fogColor | 1c | 0xffffffff | ๐ฉ๐ฅ | Fog color |
fogDensity | 1f | 0.5 | ๐ฉ๐ฅ | Fog density |
fogEnable | 1b | false | ๐ฉ๐ฅ | Enable fog |
gamma | 1f | 2.2 | ๐ฉ๐ฅ | Gamma correction |
grainIntensity | 1f | 12.0 | ๐ฉ๐ฅ | Grain intensity |
grainEnable | 1b | false | ๐ฉ๐ฅ | Enable grain |
grainStatic | 1b | false | ๐ฉ๐ฅ | Whether grain changes every frame |
lensFlareEnable | 1b | false | ๐ฉ๐ฅ | Enable lens flare |
lensTextureEnable | 1b | false | ๐ฉ๐ฅ | Enable lens texture |
lensTextureFile | 1s | "default" | ๐ฉ๐ฅ | Lens Textureย FileID (no list, wildcard or filter) |
lensTextureFilter | 1i | 1 | ๐ฉ๐ฅ | TextureFilter |
letterBoxEnable | 1b | false | ๐ฉ๐ฅ | Enable letter box |
letterBoxSize | 1f | 0.1 | ๐ฉ๐ฅ | Letter box size |
overlayAlign | 1i | 0 | ๐ฉ๐ฅ | Overlay texture alignment RectAlign |
overlayEnable | 1b | false | ๐ฉ๐ฅ | Enable overlay |
overlayFile | 1s | "default" | ๐ฉ๐ฅ | Overlay Textureย FileID (no list, wildcard or filter) |
overlayOffset | 2i | (0,ย 0) | ๐ฉ๐ฅ | Overlay texture offset |
overlayOpacity | 1f | 1.0 | ๐ฉ๐ฅ | Overlay texture opacity |
sharpenEnable | 1b | false | ๐ฉ๐ฅ | Enable sharpen |
sharpenIntensity | 1f | 0.4 | ๐ฉ๐ฅ | Sharpen intensity |
toneMapping | 1i | 0 | ๐ฉ๐ฅ | ToneMapping algorithm |
vignetteEnable | 1b | false | ๐ฉ๐ฅ | Enable vignette |
vignetteIntensity | 1f | 1.0 | ๐ฉ๐ฅ | Vignette intensity |
vignetteSize | 1f | 0.5 | ๐ฉ๐ฅ | Vignette size |
Details
Type1b: boolean1c: color (integer)1i: integer1f: float1s: string2b: 2-component boolean vector2i: 2-component integer vector2f: 2-component float vector3b: 3-component boolean vector3i: 3-component integer vector3f: 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.
profileID = FxFile.Create(556);
profileID = FxFile.Rename(556, profileID, "MyProfile"); -- rename new profile
FxFile.Open(556, profileID); -- open new profileFiles โ
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.