A new view modes toolbar has been added to the Editor, this will save you time when debugging issues in your scenes.
To activate the Environment Modes toolbar in CRYENGINE Sandbox right click on an empty space in the menu tabs of the sandbox. This will activate a menu that will allow you to add additional toolbars to the UI .
Select ViewModes from the drop down menu and you will see that the Environment Modes toolbar has been added to your UI within the Editor.
These have been introduced to save you time by not having to remember a number of Cvars and commands. Some of these are already available in the 4th tab of the rollup bar, but others are controlled via Cvars.
From left to right, all the buttons in the toolbar have been listed below along with a description of what they do. Additionally and for your reference the CVar being modified has also been included.
All but one of these buttons are toggles, on/off. Others, like the min_LOD will cycle between 6 options (0 -> 5) & back again to 0.
No. | Icon | What it does | Cvar / command being used |
---|---|---|---|
1 | Default normal rendering mode | r_DebugGBuffer = 0 | |
2 | Normals PBS debugview | r_DebugGBuffer = 1 | |
3 | Smoothness PBS debugview | r_DebugGBuffer = 2 | |
4 | Reflectance PBS debugview | r_DebugGBuffer = 3 | |
5 | Albedo PBS debugview | r_DebugGBuffer = 4 | |
6 | Lighting Model PBS debugview | r_DebugGBuffer = 5 | |
7 | Translucency PBS debugview | r_DebugGBuffer = 6 | |
8 | Sun Self Shadowing PBS debugview | r_DebugGBuffer = 7 | |
9 | SubSurface Scattering PBS debugview | r_DebugGBuffer = 8 | |
10 | Specular Validation PBS debugview | r_DebugGBuffer = 9 | |
11 | Blank Space | ||
12 | Default Material | e_DefaultMaterial = 1 | |
13 | Default Material with Normalmaps | r_TexBindMode = 6 | |
14 | Overlay Collision Proxies | p_Draw_Helpers = 1 | |
15 | Shaded Wireframe | r_ShowLines = 2 | |
16 | Full Wireframe | r_wireframe = 1 | |
17 | Show Vertex Normals | r_shownormals = 1 | |
18 | Show Tangents | r_ShowTangents = 1 | |
19 | Blank Space | ||
20 | Texels Per Meter 256 | r_TexelsPerMeter = 256 | |
21 | Texels Per Meter 512 | r_TexelsPerMeter = 512 | |
22 | Texels Per Meter 1024 | r_TexelsPerMeter = 1024 | |
23 | Blank Space | ||
24 | Colour coded LOD visualisation | e_DebugDraw = 3, -3, 0 | |
25 | Minimum LOD cycle | e_LodMin = 0, 1, 2, 3, 4, 5 |