Graphics
The graphics tab is the most popular among all the other tab in the Developer UI, mainly because of its functionality. It contains everything needed to debug lighting, post processing effects and graphics in general.
It consists of six windows - Fog Config, Clustered Light Inspector , Clustered Volumetrics Inspector, CSM Config, Post Processing and SoftBody Debug.
Fog Config
Fog Config allows to override the fog (if enabled) and set the custom fog values. Each value is presented as a slider, so changing, for example, fog radius is easy and visually convenient. Both general and skybox fogs can be overridden and changed. This menu is great for setting up fogs, as you can tweak it in realtime in-game easily.
Fog Config has the following list of values:
Fog Overrideoverrides the existing fog. Without this enabled, you will not be able to change the fog using the Fog Config.Enable Fogenables the overridden fog. Unchecking this will turn off the fog, even if there is an activeenv_fog_controllerin the map.Enable Skyboxenables the skybox fog.Max Densityis the density of the fog, from 0.0 to 100.0 (not 0.0 to 1.0 like in Hammer Editor!)Far Zchanges the distance after which nothing will be rendered (player will not see anything further). It is recommended not to touch this slider.
There are 3 values that are duplicated for the regular fog and the skybox fog:
Startis a slider which sets the distance where the fog starts.Endis a slider which sets the distance where the fog becomes completely opaque.Coloris an RGB value which sets the color of the fog.
Clustered Volumetrics Inspector
Clustered Volumetrics Inspector allows setting the volumetrical value for all clustered lights globally, allowing to preview the new volumetric lighting on the maps that were compiled before the update. It does that by applying a pseudo-obb_fogvolume that covers the whole map, values of which are controlled by this menu.
Clustered Volumetrics Inspector has the following list of values:
Show Volume Bounds- if anobb_fogvolumeentity is present, it will show its bounds as a white box.Show Only in Radiuswill only showobb_fogvolumeentities in a specified radius. This only affects theobb_fogvolumelist below.Default Fog Emissive Colorsets the emissive fog color for the whole map. Appears on top of the regular fog created byenv_fog_controller, works similarly.Default Fog Densitysets the density of the fog for the whole map, similarly to theenv_fog_controller's fog density.Default Fog Scattering Colorsets the color for the volumetric rays that are casted by CSM and Clustered lighting. Useful only in maps that were compiled before the update.Default Fog Phasechanges the starting / ending point of the volumetric rays. Only values from -1 to 1 are accepted. Default is 0 - no changes. Value of 0.5 cuts the volumetric rays in half, value of -0.5 makes only the ending half of the rays appear.
If an obb_fogvolume entity is specified in the fogvolume list, the following properties will appear:
Positionof the fog entity, with the value being the center of the fog;Anglesof the fog entity;Half Sizeof the fog, which is split into width, length and height;Spheroid Volume, which determines whether the fog should be drawn as a cube or as a sphere;Fog Density;Emissive Color, which is the color of the fog itself;Scattering color, which is the color of the volumetric rays that go through the fog's volume;Fog Phase, which is similar to theDefault Fog Phaseexcept it is applied individually to thisobb_fogvolume.
Cascade Shadow Mapping Config
CSM Config allows toggling and changing the rotation of the light casted by env_cascade_light, as well as capturing the current "sharpness" of all the shadows produced by this entity and changing the shadow distance. (the way CSM works is that, the closer the shadows are to the player, the sharper they get)
The menu has the following values:
CSM Enabledtoggles the CSM, if present;Max Shadow Distchanges the shadow distance, higher values are blurrier;Capture State/Clear Statecaptures and clears the state of each shadow produced;Rotation Overridetoggles the ability to change theenv_cascade_lightentity's angles by using theX,YandZbars below.
Post Processing
This menu controls post-processing options, similarly to env_tonemap_controller, but without needing to spawn and give inputs to one. All the values are present as sliders, allowing a precise and convenient change of all the post-processing options.
There are 3 submenus present:
Depth of Field
Depth of Field menu allows setting the DoF effect - blurring the view after a certain distance, or before a certain distance. This cinematic effect recreates how the human eye focuses - focusing on objects that are far away makes the objects that are close to the eye blur, and counterwise.
The menu has the following values:
DoF Overrideoverrides the current DoF values, if those were setSlider Rangechanges the maximum range for the sliders below;Near Blur Depthchanges the minimum distance of the near blur effect (blur will be applied to objects if they are this close to the player)Near Focus Depthchanges the maximum distance of the near blur effectFar Focus Depthchanges the maximum distance of the far blur effect (blur will be applied to objects if they are this far from the player)Far Blur Depthchanges the minimum distance of the far blur effectNear Blur Radiuschanges the intensity of the near blur effectFar Blur Radiuschanges the intensity of the far blur effectDoF Qualitychanges the method used for DoF effect. 0 means no DoF, 1 is default, 2 is pretty much identical.Copy Settingscopies all the DoF settings to the clipboard as console commands.
Example of the output of the Copy Settings button:
mat_dof_override 0;mat_dof_near_blur_depth 168.099;mat_dof_near_focus_depth 277.157;mat_dof_far_focus_depth 271.157;mat_dof_far_blur_depth 1000.0;mat_dof_near_blur_radius 10.0;mat_dof_far_blur_radius 5.0;mat_dof_quality 1;
Copy All Settingscopies all the settings related to Motion Blur effect.
Example of the output of the Copy All Settings button:
mat_motion_blur_enabled 1;mat_motion_blur_forward_enabled 1;mat_motion_blur_falling_min 8;mat_motion_blur_falling_max 20.0;mat_motion_blur_falling_intensity 1.0;mat_motion_blur_roll_intensity 1.0;mat_motion_blur_rotation_intensity 1.0;mat_motion_blur_strength 1.0;
Motion Blur
Motion Blur menu allows controlling the motion blur effect. There are two types of Motion Blurs. The first one is applied upon camera movement, smoothing the image. The second one is applied upon player movement, blurring the edges of the screen when the player moves fast.
The menu has the following values:
Blur Enabledenables and overrides the Motion Blur effect that is applied on camera movement.Blur Forward Enabledenables and overrides the Motion Blur effect that on player movement.Blur Falling Minsets the minimum value at which the player movement Motion Blur will start to appear.Blur Falling Minsets the maximum value at which the player movement Motion Blur will be fully visible.Blur Falling Intensitysets the intensity of the effect. High values make the edges appear extremely blurry.Blur Roll Intensitysets the intensity of the roll effect for the Motion Effect used for camera movement.Blur Rotation Intensitychanges the intensity of the effect.Blur Strenghtsets the strength (length) of the blur.Copy Settingscopies all the Motion Blur settings to the clipboard as console commands.
Example of the output of the Copy Settings button:
mat_motion_blur_enabled 1;mat_motion_blur_forward_enabled 1;mat_motion_blur_falling_min 0;mat_motion_blur_falling_max 0.529;mat_motion_blur_falling_intensity 0;mat_motion_blur_roll_intensity 1.058;mat_motion_blur_rotation_intensity 1.587;mat_motion_blur_strength 1.851;
Copy All Settingsis identical to theCopy Settingsbutton.
High values create unrealistic blur.
Bloom
Bloom menu allows to control the bloom effect, which brightens the edges of bright pixels, creating a cinematic shine effect. Additionally, this menu allows to control the Autoexposure effect, which brightens / darkens the overall image based on where the player is looking (also know as the HDR effect).
The menu has the following values:
Force Bloomoverrides the bloom effect.Disable Bloomdisables the bloom completely.Bloom Scalescales the bloom effect.Bloom Scalefactor Scalarscales the scale of the bloom effect.Bloom Ratesets the time it takes for the bloom changes to occur. Values are accepted from 0 to 1, where 1 is exactly a second.Autoexposure Maxsets the maximum brightness for the autoexposure effect.Autoexposure Max Multiplierscales the maximum brightness value for the autoexposure effect.Autoexposure Minsets the minimum brightness for the autoexposure effect.Uncap Autoexposureuncaps autoexposure, making everything appear bright.Accelerate Exposure Downsets the acceleration percentage for the autoexposure to darken. Higher values make the autoexposure effect disappear faster.Copy Settingscopies all the Bloom & Autoexposure settings to the clipboard as console commands.
Example of the output of the Copy Settings button:
mat_bloomscale 0.827;mat_bloomamount_rate 1;mat_dynamic_tonemapping 1;mat_autoexposure_max 0.837;mat_autoexposure_max_multiplier 0.899;mat_autoexposure_min 0.196;mat_show_histogram 0;mat_hdr_uncapexposure 0;mat_force_bloom 0;mat_accelerate_adjust_exposure_down 6.719;mat_non_hdr_bloom_scalefactor .3;mat_bloom_scalefactor_scalar 0.826;
Copy All Settingscopies all the settings related to Motion Blur effect.
SoftBody Debug
SoftBody Debug helps with debugging models that use the new cloth system.
SoftBody is a system that allows models to have cloth-like parts. It simulates cloth physics and softbody physics on the model. To make a model compile as a cloth / softbody object, add $cloth to the model's .qc file before compiling it.












