Engine Options Reference
Engine options are loaded from two files at startup:
./Engine/Options.xml— engine defaults, shipped with the engine. Never overwritten by the engine at runtime../Data/Options.xml— user overrides. Optional; if absent, engine defaults are used as-is. Values here take precedence over any matching entry in the engine defaults file.
Each option is a <Parameter> entry with a Description (the option name), a Value, and a valueType. Options are global and persist across levels and sessions; they can also be read and modified at runtime through the API (get_options / save_options).
Calling save_options() / saveOptions() writes the current in-memory options to ./Data/Options.xml only — engine defaults are never touched. This means custom values survive engine restarts without risk of corrupting the shipped defaults.
The values below are the defaults shipped with the engine. Unless noted, changing an option takes effect the next time the engine starts; audio channel volumes are applied live.
Note
valueType values map to: Long (integer), Double (floating point),
Boolean (True/False), String (text), Vec4 (X/Y/Z[/W]
coordinate), LongArray / FloatArray (comma-separated lists).
General
Option |
Type |
Default |
Description |
|---|---|---|---|
|
String |
|
Root directory the engine loads game data and assets from. |
|
String |
|
Graphics backend library to load (e.g. OpenGL or OpenGL ES). |
|
String |
|
Render pipeline definition loaded at startup. |
Display
Option |
Type |
Default |
Description |
|---|---|---|---|
|
Long |
|
Game window width in pixels. |
|
Long |
|
Game window height in pixels. |
|
Boolean |
|
Launch in fullscreen. |
|
String |
|
Texture filtering mode: |
Audio
Audio is mixed on five channels (buses). The effective gain of a sound is
per-sound gain × channel volume × master volume. These options are the channel
volumes; see Audio Channels in the Python API
reference. Changes are applied to the mixer immediately.
Option |
Type |
Default |
Description |
|---|---|---|---|
|
Double |
|
Master channel volume, normalized 0.0..1.0. Multiplies every sound. |
|
Double |
|
Music channel volume, normalized 0.0..1.0. |
|
Double |
|
Sound-effects channel volume, normalized 0.0..1.0. |
|
Double |
|
Speech/dialogue channel volume, normalized 0.0..1.0. |
|
Double |
|
Ambient/environmental sound channel volume, normalized 0.0..1.0. |
Player Movement
Option |
Type |
Default |
Description |
|---|---|---|---|
|
Vec4 |
|
Player walk speed. |
|
Vec4 |
|
Player run speed. |
|
Vec4 |
|
General movement speed. |
|
Vec4 |
|
Free-camera (editor / debug) movement speed. |
|
Double |
|
Look sensitivity. Applies equally to mouse and gamepad stick (both normalised to the same unit). See Look Speed and Analog Alignment. |
|
Double |
|
Gamepad analog axis dead zone. Stick values with absolute magnitude below this threshold produce no output. |
|
Double |
|
Jump impulse factor. |
Lighting and Shadows
Option |
Type |
Default |
Description |
|---|---|---|---|
|
Long |
|
Maximum number of simultaneously active lights. A directional light, if there is one, always takes a slot; the point lights that survive culling fill the rest, closest to the player first. |
|
Long |
|
Directional light shadow map resolution. |
|
Long |
|
Point light shadow map width. |
|
Long |
|
Point light shadow map height. |
|
Long |
|
PCF sample count for point light shadows. |
|
Long |
|
PCF sample count for directional light shadows. |
|
Long |
|
Number of cascaded shadow map cascades. |
|
FloatArray |
|
View-space distance splits between shadow cascades. |
|
LongArray |
|
Per-cascade frame offset for staggered shadow updates (cascade 0 updates every frame). |
|
LongArray |
|
Per-cascade update interval in frames. Larger values improve framerate but delay shadow updates. |
|
Double |
|
How far behind the player frustum the directional light’s view origin is pulled. Increase it to capture shadow casters behind the camera. |
|
Double |
|
Near plane for point light shadow projection. |
|
Double |
|
Far plane for point light shadow projection. |
Ambient Occlusion (SSAO)
Option |
Type |
Default |
Description |
|---|---|---|---|
|
Long |
|
SSAO buffer width. |
|
Long |
|
SSAO buffer height. |
|
Long |
|
SSAO kernel sample count. |
|
Long |
|
SSAO blur radius. |
ssao_strength |
Double |
3.0 |
Gain on the blurred occlusion before it removes ambient light, clamped to 1. The raw occlusion peaks around 0.3 in creases, so 1.0 is faint. Baked into the shader, needs a restart. |
ssao_power |
Double |
1.0 |
Exponent applied to the occlusion when it is generated. Above 1 keeps only the deep creases. Baked into the shader, needs a restart. |
ssao_radius |
Double |
0.3 |
Sample radius in view space units at the camera, shrinking with distance. Used by SSAO and GTAO. Baked into the shader, needs a restart. |
ssao_fadeEnd |
Double |
75.0 |
View distance where the occlusion has faded out completely. Used by SSAO and GTAO. Baked into the shader, needs a restart. |
ssao_angleBias |
Double |
0.05 |
How far above the surface plane a sample has to be to count as an occluder, which keeps flat surfaces clean. SSAO only. Baked into the shader, needs a restart. |
gtao_sliceCount |
Long |
2 |
Directions the GTAO horizon search runs in for each pixel. |
gtao_stepCount |
Long |
6 |
Steps along each direction, on each side, for the GTAO horizon search. |
Culling, LOD and Occlusion
Option |
Type |
Default |
Description |
|---|---|---|---|
|
Boolean |
|
Run visibility culling on worker threads. |
|
FloatArray |
|
Where each LOD level is used, in meters, multiplied by the instance scale. Each level is generated as the coarsest simplification that stays inside its pixel limits seen from exactly this distance, so the triangle count is a result, not a setting. Every |
|
FloatArray |
|
Percent of the original triangles each level is hoped to keep. Only reported in the editor next to what was reached; it decides nothing, except for animated models, which can’t be rendered for a check and are built straight to these shares. |
|
FloatArray |
|
Per level: how far the visible surface may move at the level’s distance, in pixels of the reference screen. A texture sliding a few texels counts here too. Negative switches the check off. |
|
FloatArray |
|
Per level: how far the silhouette may move, in pixels of the reference screen. Negative switches the check off. |
|
FloatArray |
|
Per level: how wide the widest hole may be, where something behind shows through, in pixels of the reference screen. Negative switches the check off. |
|
FloatArray |
|
Per level: how wide the widest patch may be where the UV jumped to another part of the texture, in pixels of the reference screen. Negative switches the check off. |
|
FloatArray |
|
Per level: how wide the widest patch may be whose shading changed past |
|
Double |
|
How far a normal may move before a pixel counts as damaged, as the length of the difference. That length is the most diffuse brightness can change under any light, so |
|
Long |
|
Height in pixels of the screen LOD levels are judged for, together with |
|
Double |
|
Vertical field of view in degrees of the screen LOD levels are judged for. Changing it regenerates every level. |
|
Boolean |
|
Generate and check each model’s LOD levels at load. Off generates nothing new: a model uses the levels its |
|
Long |
|
Bisection steps per level. Each step renders the model from 14 directions to measure it, so more steps cost load time and land on a slightly larger error. |
|
Long |
|
Largest image the check renders: twice the model’s real size on screen at the level’s distance. A big model seen close needs more and is checked at reduced precision, which the editor marks. Cost grows with the square of this. Changing it regenerates every level. |
|
Boolean |
|
Build a second, position-welded copy of the coarse levels for shadow cameras. Welding drops normals and UVs, which a depth-only pass never samples, and roughly triples the reduction at the coarse end. Nothing that samples a texture ever picks one. Changing it regenerates every level of every source model; a |
|
Long |
|
First level that gets a welded shadow copy. Shadows use the original and the levels before this one as they are. Same regeneration rules as |
|
Double |
|
How far past a switch distance an object has to move before switching back, as a fraction. Stops an object sitting on a threshold from flipping every frame. |
|
Long |
|
Forces every model to this LOD level, so one level can be inspected everywhere it would appear. |
|
Double |
|
Distance at which the engine may start skipping rendering of an object (with |
|
Double |
|
On-screen size (fraction) below which distant objects past |
|
Double |
|
World-space size (bounding box width or height) at or above which an object is never skipped regardless of distance, so large geometry such as ground and walls doesn’t disappear at range. |
|
Boolean |
|
Enable software occlusion culling for the player camera. Can be toggled at runtime from the editor. |
|
Long |
|
Models with more meshes than this get occlusion tested per mesh instead of per model. A map imported as one model is better served by the map converter, which turns it into separate objects. |
|
Long |
|
Software-rasterized depth buffer width (must be a multiple of 8). |
|
Long |
|
Software-rasterized depth buffer height (must be a multiple of 8). |
|
Double |
|
On-screen size threshold for an object to be treated as an occluder for perspective cameras (1 = full coverage). |
|
Double |
|
Same threshold for orthographic (shadow) cameras; optimal value is much lower than for perspective. |
|
Long |
|
Which LOD of a mesh occludes. Level 0 is the full mesh and the most accurate; level 2 rasterizes about 40% faster but over culls more, mostly on ground pieces. A mesh with fewer levels uses its coarsest one. A model loaded from a source file bakes only this level, so changing the value needs a reload; a |
|
Boolean |
|
A model in a model group becomes an occluder when the box of its nearest group passes the occluder size, instead of its own box. Turn it off to select occluders from each model individually. |
|
Double |
|
With |
|
Boolean |
|
Debug view: the player camera draws only what occlusion culling removed. Needs |
|
Double |
|
With |
Debugging and Profiling
Option |
Type |
Default |
Description |
|---|---|---|---|
|
Boolean |
|
Show the on-screen logger overlay and tris/lines/FPS counters. |
|
Boolean |
|
Draw the engine’s own debug lines - shadow cascade frustums and ray cast results. Toggled at runtime with F4. Lines drawn through the API and the editor’s object visualisations are not affected by it and render regardless. |
|
Long |
|
Vertex buffer capacity for debug line drawing. Accumulated lines are flushed to the GPU when it fills. |
|
Long |
|
The Debug player draws the navigation grid only this many cells around itself, a whole map worth of lines is too slow to render. |
|
Boolean |
|
Enable the embedded Tracy profiling server (flame graph visible in the editor). |
|
Boolean |
|
Master switch for profiler zones. When off, none of the |
|
Boolean |
|
Record simulation (tick) zones. Only applies while |
|
Boolean |
|
Record visibility and culling zones. Only applies while |
|
Boolean |
|
Record CPU-side rendering zones. Only applies while |
|
Boolean |
|
Record GPU rendering zones. Only applies while |
|
Long |
|
Time window in milliseconds over which the FPS and frame-time statistics in the profiler window are averaged. Valid range 50 to 10000; a value outside it logs a warning and falls back to 500. |
|
Boolean |
|
Dump the software-rasterized depth buffer to a PPM file (debug only). |
|
Long |
|
How often (in frames) to dump the software depth buffer when dumping is enabled. |
See also
Using Builtin Editor -changing options from the editor
Rendering Pipeline -rendering and LOD behaviour
Asset Management -asset related behaviour
Input System -input options
Supporting Systems -debug drawing and profiling
Simulation Ticks -tick rate