Skip to content

Global settings ​

Flare Live 3.0 · World · API type simexp.core.world.

Global settings belong to the World, not a scene object. Use ws.world_handle() to edit them. working_directory is an absolute serialized project property; exports and sample caches resolve beneath the runtime working directory. It is distinct from the FLL filename and Python cwd.

Gravity acts on rigid bodies. up_direction does not lock motion or replace gravity. The effective simulation step can be requested by a solver and differ from default_time_step. Rendering settings affect appearance, not fluid or rigid-body physics. Camera export requires scene Cameras; Free view is local to the GUI.

See lifecycle, rendering and export.

Properties ​

Values below are defaults for new objects. See common properties for shared fields, case-sensitive API paths and conditional visibility.

General ​

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
working_directory""Absolute output/cache directory or empty fallback. Set explicitly for portable experiments.No
use_left_handed_coordinatesfalseUse the left-handed view convention for scene Cameras and the viewport.No
gravity(0.0, 0.0, -9.81)World-space acceleration applied to rigid bodies, m/s².No
up_direction(0.0, 0.0, 1.0)World up direction for navigation and rendering. Set gravity separately.No
default_time_step0.01Fallback dt, seconds; read effective initialized dt when solvers request another value.No
skybox0; 0=PureSky1, 1=PureSky2, 2=Underwater1, 3=CustomChoose a bundled background or a custom image.Yes
skybox_texture_path""Path to the external skybox image. Shown when skybox is Custom. Share the image separately when moving the project.Yes

Rendering / Ambient Occlusion ​

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
rendering.ambient_occlusion.enabledtrueEnable screen-space ambient occlusion, which darkens creases and nearby contacts in the rendered image.Yes
rendering.ambient_occlusion.radius0.06Screen-space sampling radius scale, clamped to 0.001–0.5. Larger values look for occluders farther from each pixel. The renderer converts it to a view-space radius using the projection and depth. Shown when sibling enabled = True.Yes
rendering.ambient_occlusion.strength1.5Amount of ambient occlusion darkening, clamped to 0–8. Zero removes the darkening. Shown when sibling enabled = True.Yes
rendering.ambient_occlusion.power1.25Contrast exponent applied to ambient occlusion, clamped to 0.1–8. Increasing it deepens partially occluded areas. Shown when sibling enabled = True.Yes
rendering.ambient_occlusion.bias0.02Tolerance for rejecting shallow occlusion against the surface itself, relative to the sampling radius. Clamped to 0–0.5. Raising it can hide small contacts. Shown when sibling enabled = True.Yes
rendering.ambient_occlusion.horizon_threshold0.06Dimensionless angular cutoff for rejecting near-tangent occluders, clamped to 0–1. Raising it rejects more shallow contacts. Shown when sibling enabled = True.Yes
rendering.ambient_occlusion.blurtrueSmooth the occlusion buffer while using depth and normals to preserve edges. Disable to see the unfiltered result. Shown when sibling enabled = True.Yes

Rendering / Lighting ​

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
rendering.lighting.ambient_color(1.0, 1.0, 1.0)Ambient-light RGB tint, with components from 0 to 1. Ambient light illuminates surfaces regardless of orientation to the directional light.Yes
rendering.lighting.ambient_intensity0.3Brightness multiplier for ambient light, clamped to 0–10. Zero removes the ambient contribution.Yes
rendering.lighting.light_color(1.0, 1.0, 1.0)RGB tint of the directional light that illuminates faces and casts shadows. Each component is in 0–1.Yes
rendering.lighting.light_intensity0.7Brightness multiplier for directional light, clamped to 0–10. Zero removes its light contribution.Yes
rendering.lighting.follow_viewfalseRotate the directional light with the active view. With this off, its direction is fixed in world coordinates.Yes
rendering.lighting.azimuth_degrees45.0Horizontal bearing of the light source, in degrees from +X toward +Y. The value wraps every 360°. With Follow view on, the axes are those of the camera.Yes
rendering.lighting.elevation_degrees45.0Angle of the light source above the XY plane, clamped to −90° to 90°. Positive angles point toward +Z. With Follow view on, the axes are those of the camera.Yes

Rendering / Shadows ​

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
rendering.shadows.mode2; 0=None, 1=Hard, 2=SoftNone disables shadows. Hard uses a sharp depth comparison. Soft filters across neighboring shadow-map samples to soften the edge.Yes
rendering.shadows.resolution2048Width and height in texels of each directional shadow cascade, clamped to 256–4096. Increasing it can sharpen detail and uses more GPU memory.Yes
rendering.shadows.distance100.0Maximum camera-space depth covered by the directional shadow cascades, in meters, clamped to 0.1–100,000. A longer range spreads the available shadow texels across more scene depth.Yes
rendering.shadows.strength1.0Shadow darkness multiplier from 0 to 1. Zero removes visible darkening.Yes
rendering.shadows.bias1.0Scale for the shadow depth offset, clamped to 0–20. Increase to reduce self-shadow patterning. Excessive bias can separate a shadow from its caster.Yes
rendering.shadows.softness1.5Spacing of filter taps in shadow-map texels, clamped to 0.25–8. Larger values widen the blur. Shown when sibling mode = Soft.Yes

Rendering / Fog ​

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
rendering.fog.enabledfalseBlend rendered surfaces with the fog color as their distance from the view increases.Yes
rendering.fog.use_sky_colortrueSample the skybox along the viewing ray as the fog color. An empty background keeps its original color. Without a skybox the render uses the background clear color. Shown when sibling enabled = True.Yes
rendering.fog.color(0.65, 0.72, 0.8)Fixed RGB color blended into distant surfaces when the sky color is disabled. Each component is in 0–1. Shown when sibling use_sky_color = False.Yes
rendering.fog.start_distance10.0Distance before the fog starts, in meters. Perspective views use distance from the camera and orthographic views use view depth. Shown when sibling enabled = True.Yes
rendering.fog.density0.02Exponential falloff per meter beyond Start distance. Zero clears the fog. At 1 ÷ density meters beyond the start, about 37% of the surface color remains. Shown when sibling enabled = True.Yes
rendering.fog.affect_backgroundtrueApply the fixed fog color to background pixels as well as visible geometry. Shown when sibling use_sky_color = False.Yes

Export ​

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
export.folder_name"export"Output subdirectory under the working directory.No
export.export_camera_viewsfalseWrite images from enabled scene Cameras when exporting.No
export.camera_view_width1920Image width in pixels. Shown when Camera export is enabled.No
export.camera_view_height1080Image height in pixels. Shown when Camera export is enabled.No
export.auto_exportfalseSchedule exports as simulation advances.No
export.auto_export_target_fps30.0Target exports per simulated second, clamped to 0.001–100,000. Each completed step can produce at most one scheduled export. Shown when Auto export is enabled.No
export.auto_export_start_time0.0Time in simulated seconds at or after which scheduled export starts. Zero exports the initial state. Later exports use the state on the first eligible step. Shown when Auto export is enabled.No

Simulation input/output: none.