API ReferenceGE Extensionseditor
Renderer Components Editor Tool
Editor tool for adjusting post-processing effects: Depth of Field, HDR/Tone Mapping, Light Rays, Motion Blur, and Bloom.
Editor tool for adjusting post-processing effects: Depth of Field, HDR/Tone Mapping, Light Rays, Motion Blur, and Bloom.
Overview
Tabbed ImGui window (~700 lines) providing real-time adjustment of rendering post-effects. Changes are preview-only and not persisted. Supports preset load/save via postFx utilities.
Public API
| Function | Signature | Description |
|---|---|---|
M.onEditorInitialized | M.onEditorInitialized() | Registers window and menu item; loads initial settings. |
M.onEditorGui | M.onEditorGui() | Renders tabbed post-FX editor with menu bar. |
M.onEditorActivated | M.onEditorActivated() | Restores DOF and Light Ray states on editor activation. |
M.onEditorEnabled | - | Exposed but no implementation shown. |
Tabs
| Tab | Controls |
|---|---|
| Depth of Field | Enable, debug viz, blur near/far, aperture, falloff, focus distance, reset |
| HDR | Luminance readout, combine pass settings (bloom scale, blue shift, color correction, middle gray, gamma) |
| Light Rays | Enable toggle, brightness slider, reset |
| Motion Blur | Enable, strength slider, vehicle motion blur toggles |
| Bloom | Enable, threshold, knee |
HDR Settings Structure
Configured via PostEffectLuminanceObject and PostEffectCombinePassObject scene objects. Supports float, float3, float4, and texture field types.
Usage
Accessible via Window → Renderer Components in the editor.
-- Load/save post-FX presets
postfxUtils.loadPresets()
postfxUtils.savePresets()See Also
- Editor AI Tests - Related reference
- Editor AI Visualization - Related reference
- Editor – Assembly Spline Tool - Related reference
- World Editor Guide - Guide