Skip to main content

Console Variables

XFSDK Light uses the xl_ prefix. XFSDK Core, standalone XFSDK Enhanced SMAA, and standalone XFSDK Hybrid SDF GI use x_ instead. For shared GI and loading-screen settings, only the prefix changes; SMAA has its own documented Light controls. Bend-style screen-space shadows (xl_sss_*) are Light-only.

Set Light CVars in the console, in Config/DefaultEngine.ini under [SystemSettings], from Blueprint with Set XFSDK Int / Float / Bool, or in the developer menu.

Anti-aliasing​

NameDefaultDescription
xl_smaa_mode00 off, 1 SMAA, 2 SMAA 2TX
xl_smaa_debug01 edges, 2 blend weights
xl_smaa_disable_diag01 disables diagonal edge detection
xl_smaa_corner_rounding0.250 sharp corners, 1 no corner detection
xl_smaa_max_search_steps32Edge search length (16 / 32 / 64)
xl_smaa_max_diag_search_steps16Diagonal search length (8 / 16 / 20)
xl_smaa_hdr_edge_detection1Tonemap before edge detection
xl_smaa_predication1Depth-guided edge detection
xl_smaa_predication_threshold0.01Depth difference that counts as an edge
xl_smaa_predication_scale2.0Threshold rise away from depth edges (1–5)
xl_smaa_predication_strength0.4Threshold drop at depth edges (0–1)
xl_smaa_tx2_history_weight10 CryEngine 3 motion fade, 1 50/50 unless object motion differs
xl_smaa_tx2_velocity_rejection1.0Object motion difference (pixels) that drops the history
xl_smaa_tx2_velocity_dilation1Take motion from the nearest surface in 3×3
xl_smaa_tx2_rcas_intensity0.0RCAS after SMAA 2TX. 0 off, up to 1 standard, up to 2 stronger
xl_smaa_tx2_debug01 history weight, 2 reprojection, 3 frame difference

Screen space shadows​

NameDefaultDescription
xl_sss_enable0Turns screen space shadows on
xl_sss_surface_thickness0.05Pixel thickness, fraction of depth (≈ fraction of camera distance)
xl_sss_sample_count60Shadow length in pixels (16–120)
xl_sss_shadow_strength0.50 none, 1 black
xl_sss_shadow_contrast4.0Edge sharpness (1–8)
xl_sss_bilinear_threshold0.02Depth edge threshold for sample blending
xl_sss_ignore_edge_pixels0Edge pixels don't cast
xl_sss_min_depth_delta0.05Ignore casters closer than this fraction of a thickness window (0–0.5)
xl_sss_max_distance5000Fully faded at this distance (cm)
xl_sss_fade_ratio0.6Fade starts at this fraction of the max distance
xl_sss_multi_light00 one light, 1 up to 4 lights
xl_sss_use_early_out1Skip sky and out-of-range pixels
xl_sss_shadow_mode00 darken, 1 remove direct light
xl_sss_shadow_desaturation0.0Mode 0: desaturate shadows (0–1)
xl_sss_material_thickness0Read per-material thickness (needs the shader patch)
xl_sss_material_thickness_range4.0Material thickness range in stops (1–8)
xl_sss_depth_bias0Read per-material depth bias (needs the shader patch)
xl_sss_depth_bias_range8.0Depth bias at height 0, in cm (0.5–50)
xl_sss_debug_mode01 edges, 2 shadow mask, 3 material thickness, 4 depth bias

Global illumination​

The canonical Hybrid SDF GI reference lists shared settings using the Core/standalone x_ prefix. On XFSDK Light, change only that prefix to xl_:

Core / standalone GILight equivalent
x_gi_method=2xl_gi_method=2
x_gi_dfgi_lite_quality=1xl_gi_dfgi_lite_quality=1
x_gi_dfgi_lite_final_gather=1xl_gi_dfgi_lite_final_gather=1

See the Core reference for quality modes, final gather controls, all other settings, and debug views. The shared GI commands x_gi_dfgi_lite_list_volumes and x_gi_dfgi_lite_bake_volumes likewise become xl_gi_dfgi_lite_list_volumes and xl_gi_dfgi_lite_bake_volumes in Light.

System​

Light-only nameDefaultDescription
xl_developer_menu_visible1Show the Light developer menu (Development builds)

Loading-screen controls are documented once in XFSDK Core — Loading Screens. Replace x_ with xl_ when using them in Light. For example, x_common_loading_screen_always_show becomes xl_common_loading_screen_always_show.

PSO prewarming settings and integration are documented in XFSDK Core — PSO Prewarming and Light system setup.

Engine settings XFSDK Light changes​

NameWhenValue
r.TemporalAA.Upscalerxl_smaa_mode 21
r.TemporalAASamplesxl_smaa_mode 22
r.ScreenPercentagexl_smaa_mode 2100

They are restored when SMAA 2TX is turned off.