Deprecated useful console commands
Sets the rendering mode of the game viewport to the specified mode. The available modes are:
|Shows the wireframe of all meshes.
|Renders meshes using only the diffuse channel of materials.
|Default. Renders meshes using their materials being affected by lighting.
|Renders meshes using a neutral-colored material with normals being affected by lighting.
|Renders meshes using a neutral-colored material without normals being affected by lighting.
|Renders meshes using a solid color based on the number of dynamic lights affecting the mesh. Black means no dynamic lights affect the mesh. As more lights affect the mesh, the color goes from green to red.
|Renders meshes using solid colors based on the number of shader instructions executed by the material applied to the surface. The colors range from green (0) to red (300) to pink (600) to white (900).
|Shows overall frame time as well as the game thread, rendering thread and GPU times. Whichever is the longest is the bottleneck. However GPU time contains idle time, so is only the bottleneck if it is the longest and stands alone.
|Ctrl+Shift+. or 'recompileshaders changed'
|Recompile shaders that have changed since you last saved the .usf file. This will automatically happen on load.
|Ctrl+Shift+; or 'profilegpu'
|Measure GPU timings for the view being rendered. You can view the results in the UI that pops up or in the engine log.
|'Vis' or 'VisualizeTexture'
|Visualize the contents of various render targets with the ability to save as bmp.
|Toggles specified show flag. Use 'show' to get the list of showflags and their current state. In the editor, use the viewport UI instead.
|Pauses the game, but continues rendering. Any simulation rendering work will stop.
|changes the game speed. Can be very useful for slowing down time without skipping simulation work, when profiling. For example 'slomo .01'
|For testing splitscreen.
|Execute to get a single frame dump of the composition graph of one frame (post processing and lighting).
|When set to 1, will cause any shaders that are then compiled to dump debug info to GameName/Saved/ShaderDebugInfo
|Clears the texture returned by the rendertarget pool with a special color to track down color leaking bugs.
|Set the display resolution for the current game view. Has no effect in the editor.
|Allows to test different viewport rectangle configuations (in game only) as they can happen when using Matinee/Editor.
|Emits helpful draw event markers for use with GPU Capture/PIX
Useful command lines when working on rendering:
|Enables the D3D11 debug layer, useful for catching API errors.
|Forces Feature Level SM4 with the D3D11 RHI.
|-opengl3 / -opengl4
|Forces use of OpenGL RHI at the specified feature level.
|Prevents the use of network (shared) Derived Data Cache. Can be useful when debugging shader caching issues.
|- Enables external VS Perf Profiler hooks
|- Enables external VTune Profiler hooks