S&box Wiki

Tools Visualisation Modes

Tools Visualisation Modes

Listed below are all the different tool vis modes available in Source 2. These modes can be used to debug and preview various rendering properties for your maps/models/materials in engine.

Usage

Use mat_fullbright <value> while in editor mode.

Tools Vis List

Tools Vis Name Value Description
FULLBRIGHT 1 Albedo with Specular preview
DIFFUSE_LIGHTING 2
SPECULAR_LIGHTING 3
TRANSMISSIVE_LIGHTING 4
LIGHTING_COMPLEXITY 5
SHOW_UVS 6
INDEXED_LIGHT_COUNT 7
ALBEDO 10 Same as S1 Fullbright
REFLECTIVITY 11
ROUGHNESS 12
REFLECTANCE 13
DIFFUSE_AMBIENT_OCCLUSION 14
SPECULAR_AMBIENT_OCCLUSION 15
SHADER_ID_COLOR 16
CUBEMAP_REFLECTIONS 17
NORMAL_TS 20
NORMAL_WS 21
TANGENT_U_WS 22
TANGENT_V_WS 23
GEOMETRIC_NORMAL_WS 24
BENT_NORMAL_WS 25
BENT_GEOMETRIC_NORMAL_WS 26
GEOMETRIC_ROUGHNESS 30
CURVATURE 31
EYES/MOUTH MASK 32
WRINKLE 33
BAKED_LIGHT_RESULT 40
BAKED_LIGHT_DIFFUSE 41
BAKED_LIGHT_SPECULAR 42
BAKED_LIGHT_SPECULAR_WITH_PROBES 43
BAKED_LIGHT_AMBIENT 44
BAKED_LIGHT_AMBIENT_OCCLUSION 45
BAKED_LIGHT_LIGHT_DIRECTION 46
BAKED_LIGHT_LIGHT_COLOR 47
BAKED_LIGHT_LIGHT_CHART 48
BAKED_LIGHT_COUNT 49
TOOLS_VIS_MODE_TEXTURE_MIP_USAGE 70
QUAD_OVERDRAW 100 Visualize quad overdraw. Brighter color means more overdraw

Special Pages


Wikis

?

Render Time: 17ms

DB GetPage 4
Generate Html 0
SaveChanges (1) 9
Render Body 0
Render Sidebar 1