openOMSI GitHub Discord
Modding overview

Docs / Making content / Modding overview

Textures

1 min readEdit this pagedocs/MODDING.md

  • Textures up to 16384 × 16384 pixels load. If the graphics card cannot take that size, the texture is halved until it fits.
  • A file is read by its content, whatever its extension says.
  • A texture named in a model (bus.bmp) is looked for as bus.dds first, then under its own name, then as .bmp, .tga, .jpg, .png, .jpeg, .webp, .tif, .tiff, .gif, .ktx2, .ktx, .qoi, .hdr, .exr and .pnm.
  • A texture keeps its full resolution within 150 m of the camera, so a bus's own 4K textures stay sharp. Distant scenery loses detail only when video memory runs out (the video memory setting, see Graphics). This replaces OMSI's [texmemlimit].

Supported formats:

Format Variants
DDS OMSI's DXT1-5 and uncompressed; DX10 header with BC4, BC5, BC6H, BC7; R10G10B10A2, R11G11B10 float, R9G9B9E5, 16- and 32-bit float, 16-bit channels, B5G6R5, B5G5R5A1, B4G4R4A4, R8G8, R8, A8; DX10 cube maps; ATI1, ATI2, BC4U, BC5U, RXGB; Direct3D float formats
KTX 1, KTX 2 RGBA8, BC1-BC7, ETC1, ETC2/EAC, ASTC (not supercompressed)
Others PNG (also 16-bit), JPEG (also progressive and CMYK), BMP, TGA, WebP, GIF, TIFF, QOI, OpenEXR, Radiance HDR, ICO, PNM, farbfeld

For a two-channel normal map (BC5, ATI2), the z component is rebuilt from x and y.

PBR maps#

Normal, roughness, metalness and occlusion maps placed beside a texture are picked up automatically. See PBR materials.

Something wrong or missing? Fix it on GitHub or open an issue.

↑↓ to move↵ to open