Skip to content

Map Render Modes

The render-mode database names the following model render modes. Surface_OPA is the normal choice for solid geometry, the Surface_XLU modes are used for translucent geometry, AlphaTest is used for cutout textures, and the decal modes are used for coplanar surfaces. The Map Editor hides some of the special-purpose entries.

IDStar Rod nameDescription and engine name
00Surf_Solid_AA_ZB_Layer0Solid surface on layer 0. SURF_SOLID_AA_ZB_L0
01Surface_OPAStandard solid surface. SURF_SOLID_AA_ZB
03Surface_OPA_No_AASolid surface without anti-aliasing. SURF_SOLID_ZB
04Surface_OPA_No_ZBSolid surface which ignores the Z-buffer. SURF_SOLID_AA
11Surface_XLU_Layer1Standard transparent surface, background layer. SURF_XLU_AA_ZB_L1
16Surface_XLU_Layer2Transparent surface, middle layer. SURF_XLU_AA_ZB_L2
22Surface_XLU_Layer3Transparent surface, foreground layer. SURF_XLU_AA_ZB_L3
13Surface_XLU_No_AATransparent surface without anti-aliasing. SURF_XLU_ZB
14Surface_XLU_No_ZBTransparent surface which ignores the Z-buffer. SURF_XLU_AA
15Surf_XLU_ZB_ZUPDTransparent surface which updates the Z-buffer without anti-aliasing. SURF_XLU_ZB_Z_UPD
0DAlphaTestTwo-sided cutout surface. ALPHA_TEST_AA_ZB_2SIDE
0FAlphaTest_OneSidedOne-sided alpha test with back-face culling. ALPHA_TEST_AA_ZB_1SIDE
10AlphaTest_No_ZBAlpha test without the Z-buffer. ALPHA_TEST_AA
05Decal_OPASolid surface drawn over another surface at the same depth. DECAL_SOLID_AA_ZB
07Decal_OPA_No_AAOpaque decal without anti-aliasing. DECAL_SOLID_ZB
1ADecal_XLUTransparent decal for coplanar models. DECAL_XLU_AA_ZB
1CDecal_XLU_No_AATransparent decal without anti-aliasing. DECAL_XLU_ZB
09Intersecting_OPASolid intersecting surface. INTER_SOLID_AA_ZB
26Intersecting_XLUTransparent intersecting surface. INTER_XLU_AA_ZB
29Surf_XLU_AA_ZB_ZUPDAnti-aliased transparent surface which updates the Z-buffer. SURF_XLU_AA_ZB_Z_UPD
20ShadowSpecial shadow render mode. SHADOW
2ECloudSpecial cloud surface with depth testing. SURF_CLOUD_ZB
2FCloud_No_ZBSpecial cloud surface without the Z-buffer. SURF_CLOUD