Docs / Reference / Environment variables
Graphics
On this page
Renderer, API and display#
| Variable | Values / default | What it does |
|---|---|---|
OMSI_GRAPHICS |
vanilla, vanilla_plus or enhanced; default: the setting |
Use another renderer for this run. |
OMSI_ENHANCED |
flag | Enhanced graphics for this run. |
OMSI_ENHANCED_PLUS |
flag | Enhanced+ (ray traced) graphics for this run. |
OMSI_MX |
on/1/true or off/0/false; default: the setting |
mX Graphics for this run, over the mx_graphics setting. On starts the game on mX, off on wgpu. |
OMSI_BACKEND |
vulkan, dx12, metal, gl, angle (Windows: also dx11, d3d11); default: the setting |
The graphics API tried first. The launcher and Android set it at runtime. |
OMSI_PRESENT_MODE |
fifo, fifo_relaxed, mailbox, immediate or auto; default auto |
How frames reach the screen. fifo is vsync. A mode the screen does not support falls back to auto. |
OMSI_FSR1 |
1, true or on; unset: off |
Experimental FSR 1 spatial upscaling (EASU + RCAS) for scaled window views. Needs a restart. |
OMSI_OPENXR |
flag | Start in OpenXR (VR) mode. |
OMSI_OPENXR_SCALE |
number; default: the setting | VR: render scale of the eyes. |
OMSI_OPENXR_MIRROR_RATE |
number; default: the setting | VR: how often the mirrors are redrawn. Negative: every mirror every frame. |
OMSI_MIRROR_HUD |
number; default: the setting | Mirror HUD mode. |
OMSI_CHARACTER_MODELS |
original or improved; default: the setting |
Character models for this session: OMSI's people, or the Microsoft Rocketbox avatars (drawn on this computer only). |
OMSI_PAX_ANIMATION |
original or enhanced; default: the setting |
Passenger animation for this session: OMSI's, or procedural IK. |
OMSI_HTML_ENGINE |
modern; default classic |
Run every [htmltexture] page on the modern engine (flexbox, modern JavaScript), not only pages that ask for it with <meta name="omsi-engine" content="modern">. For comparing the two. |
OMSI_HTML_FALLBACK_FONT |
font file | Font for HTML page characters that Inter lacks (Hangul, CJK). Without it: Malgun Gothic (Windows) or AppleGothic (macOS). |
OMSI_HTML_FALLBACK_FONT_BOLD |
font file | The bold face for OMSI_HTML_FALLBACK_FONT. |
See Graphics for what the renderers and upscalers do, and Virtual reality for VR.
Picture tuning#
Values for looking at and comparing pictures. The defaults are what the game uses.
| Variable | Values / default | What it does |
|---|---|---|
OMSI_METER |
gain,target,dark,bright,bias,night |
The exposure metering. |
OMSI_TONE_CONTRAST |
day[,night]; default 1 |
Tone mapping contrast. |
OMSI_TONEMAP |
natural, agx or neutral; default agx |
Enhanced's tone curve: the old natural curve, AgX, Khronos PBR Neutral. |
OMSI_GRADE |
0 |
Enhanced without its colour grade (white balance, saturation and the shadows' lift by the sun's height and the weather). |
OMSI_ROAD_DIRT_RATE |
number; default 1 |
How many times faster the vehicles gather road dirt: 60 lays an hour's dirt in a minute of driving. |
OMSI_ROAD_DIRT |
spray,film,dust,wet[,slush,mud] |
The procedural road dirt (procedural_dirt) every vehicle carries, 0..1 each, whatever it gathered. |
OMSI_WIDE_AO |
reach,strength,gain,max |
The street-scale occlusion of sky light and bounced light (metres, 0..1, 0..1, radiance). |
OMSI_PUDDLE_F0 |
number; default 0.08 |
Puddle reflectance at normal incidence (0.02 to 0.2). |
OMSI_PUDDLE_THICKNESS |
number; default 0.12 |
Puddle water film thickness. |
OMSI_SURFACE_BIAS |
number; default -24 |
Depth bias of road surfaces. |
OMSI_SURFACE_FLUSH |
number; default 0.12 |
Height in metres under which a surface counts as flush with the road. |
OMSI_WINDY_TREES |
0 or 1; default: the setting |
Trees moving in the wind off or on. |
OMSI_ROAD_SNOW |
off or a number 0..1; default: the setting |
Built-up snow on roads and roofs, over the road_snow setting. off uses the weather's plain on/off snow on the road; a number is the cover to start with. |
OMSI_TEXTURE_RAIN |
flag | OMSI 2's own texture rain on the glass instead of the drops. |
Something wrong or missing? Fix it on GitHub or open an issue.