Skip to main content
ARShow
 首页 » 资源教程 » UE4教程

UE4 Editor View Modes

2016年09月11日 18:06:3217150

View Modes

UE4 Editor View Modes UE4教程 第1张

Overview

The Unreal Editor viewports have a large number of visualization modes to help you see the type of data being processed in your scene, as well as to diagnose any errors or unexpected results. The more common view modes have their own hotkeys, but all can be accessed from the viewport within the View Mode menu.

UE4 Editor View Modes UE4教程 第2张 UE4 Editor View Modes UE4教程 第3张

Lit

UE4 Editor View Modes UE4教程 第4张

  • View Mode Hotkey: Alt + 4

  • Console command: viewmode lit

Lit view mode shows the final result of your scene once all of the Materials and lighting have been applied.

Unlit

UE4 Editor View Modes UE4教程 第5张

  • View Mode Hotkey: Alt + 3

  • Console command: viewmode unlit

Unlit view mode removes all lighting from the scene, showing you Base Color only.

Wireframe

UE4 Editor View Modes UE4教程 第6张

  • View Mode Hotkey: Alt + 2

  • Console command: viewmode wireframe

Wireframe shows all of the polygon edges in the scene. In the case of Brushes, you will see the resultant geometry.

Detail Lighting

UE4 Editor View Modes UE4教程 第7张

  • View Mode Hotkey: Alt + 5

  • Console command: viewmode lit_detaillighting

Detail Lighting activates a neutral Material across the entire scene, using the normal maps of the original materials. This is useful for isolating whether your BaseColor is obscuring lighting by being too dark or noisy.

Lighting Only

UE4 Editor View Modes UE4教程 第8张

  • View Mode Hotkey: Alt + 6

  • Console command: viewmode lightingonly

Lighting Only shows a neutral Material that is only affected by lighting. It differs from Detail Lighting mode in that you will not see normal maps.

Light Complexity

UE4 Editor View Modes UE4教程 第9张

  • View Mode Hotkey: Alt + 7

  • Console command: viewmode lightcomplexity

Light Complexity shows the number of non-static lights affecting your geometry. This is useful for tracking lighting cost - the more lights affecting a surface, the more expensive it will be to shade.


Light Complexity Coloration
ColorUE4 Editor View Modes UE4教程 第10张UE4 Editor View Modes UE4教程 第11张UE4 Editor View Modes UE4教程 第12张UE4 Editor View Modes UE4教程 第13张UE4 Editor View Modes UE4教程 第14张UE4 Editor View Modes UE4教程 第15张
Number of Lights Affecting Surface012345+

This color scheme is defined in BaseEngine.ini (or YourGameEngine.ini) and can be edited by searching the following lines.

+LightComplexityColors=(R=0,G=0,B=0,A=1)
+LightComplexityColors=(R=0,G=255,B=0,A=1)
+LightComplexityColors=(R=63,G=191,B=0,A=1)
+LightComplexityColors=(R=127,G=127,B=0,A=1)
+LightComplexityColors=(R=191,G=63,B=0,A=1)
+LightComplexityColors=(R=255,G=0,B=0,A=1)

Shader Complexity

UE4 Editor View Modes UE4教程 第16张

  • View Mode Hotkey: Alt + 8

  • Console command: viewmode shadercomplexity

Shader Complexity Mode is used to visualize the number of shader instructions being used to calculate each pixel of your scene. It is generally a good indication of how performance-friendly your scene will be. In general, it is used to test overall performance for your base scene, as well as to optimize particle effects, which tend to cause performance spikes with a large amount of overdraw for a short period of time.

Only instruction count is used to calculate shader complexity, which may not always be accurate. For example, a shader with 16 instructions, all texture lookups, will be much slower on all platforms than a shader with 16 math instructions. Also shaders which contain loops that are not unrolled will not be represented accurately by the instruction count, this is mainly an issue for vertex shaders. Overall the instruction count is a good metric in the vast majority of cases.

The view mode uses a color spectrum to indicate how expensive the scene is. Green through red represent a linear relationship of "very inexpensive" to "expensive", while pink and white indicate a large jump to "very expensive" pixels. Small areas of white can be tolerated, but if the majority of your screen is covered in bright red or white, the performance will be poor.


Shader Complexity Coloration
Ideal  Moderate  ExpensiveVery Expensive

+ShaderComplexityColors=(R=0.0,G=1.0,B=0.127,A=1.0)
+ShaderComplexityColors=(R=0.0,G=1.0,B=0.0,A=1.0)
+ShaderComplexityColors=(R=0.046,G=0.52,B=0.0,A=1.0)
+ShaderComplexityColors=(R=0.215,G=0.215,B=0.0,A=1.0)
+ShaderComplexityColors=(R=0.52,G=0.046,B=0.0,A=1.0)
+ShaderComplexityColors=(R=0.7,G=0.0,B=0.0,A=1.0)
+ShaderComplexityColors=(R=1.0,G=0.0,B=0.0,A=1.0)
+ShaderComplexityColors=(R=1.0,G=0.0,B=0.5,A=1.0)
+ShaderComplexityColors=(R=1.0,G=0.9,B=0.9,A=1.0)

Stationary Light Overlap

UE4 Editor View Modes UE4教程 第17张

  • View Mode Hotkey: None (Menu only by default)

Lightmap Density

UE4 Editor View Modes UE4教程 第18张

View Mode Hotkey: Alt + 0

Lightmap Density mode displays the lightmap density of objects that are texture mapped, color coding them by their relation to an ideal/max density setting and displaying a grid that maps to the actual lightmap texels. It is important to have even texel density across your scene to get consistent lightmap lighting.


UE4 Editor View Modes UE4教程 第19张UE4 Editor View Modes UE4教程 第20张UE4 Editor View Modes UE4教程 第21张
Less than ideal texel densityIdeal texel densityMax or greater than ideal texel density

Skeletal Meshes will appear in light brown and are not considered in this calculation.

Reflections

UE4 Editor View Modes UE4教程 第22张

  • View Mode Hotkey: None (Menu only by default)

Reflections view mode overrides all materials with a flat normal and a roughness of 0, which is a mirror. This is useful for diagnosing the detail of reflections and allowing you to place more Reflection Capture Actors in areas where you need more detail.

Buffer Visualization

UE4 Editor View Modes UE4教程 第23张

The Buffer Visualization area offers you access to individual buffers within the graphics card, which can help you diagnose problems how your scenes look. In order to make the most out of the buffer visualization modes, it will help to understand the basics of Material Inputs and Material Properties.

Buffer Overview

UE4 Editor View Modes UE4教程 第24张

The Buffer Overview visualization mode allows you to see multiple images from the graphics card's GBuffer. Many of these correlate to inputs on Materials, meaning you can see how the scene looks with just a single Material input being used.

Base Color

UE4 Editor View Modes UE4教程 第25张

  • View Mode Hotkey: None (Menu only by default)

The Base Color mode allows you to see the only the Base Color of the Materials in your scene.

Decal Mask

UE4 Editor View Modes UE4教程 第26张

  • View Mode Hotkey: None (Menu only by default)

The Decal Mask mode shows in white any surface which can receive deferred decals. Objects which cannot appear in black.

Diffuse Color

UE4 Editor View Modes UE4教程 第27张

  • View Mode Hotkey: None (Menu only by default)

Diffuse Color shows the result of Base Color and the Material's Ambient Occlusion inputs.

Shading Model

UE4 Editor View Modes UE4教程 第28张

  • View Mode Hotkey: None (Menu only by default)

The Shading Model mode shows value of the Shading Model property for each Material in the scene.


Light Complexity Coloration
ColorUE4 Editor View Modes UE4教程 第29张UE4 Editor View Modes UE4教程 第30张UE4 Editor View Modes UE4教程 第31张UE4 Editor View Modes UE4教程 第32张
Material's Shading ModelDefault LitUnlitSubsurfacePreintegrated Skin

Material AO


UE4 Editor View Modes UE4教程 第33张UE4 Editor View Modes UE4教程 第34张
Scene in Lit Mode (Game View On)Scene in Buffer Material AO Mode (Game View On)
  • View Mode Hotkey: None (Menu only by default)

The Material AO visualization mode shows the result of any texturing or Material Expression nodes that are connected to the Material'sAmbient Occlusion input.

Metallic

UE4 Editor View Modes UE4教程 第35张

  • View Mode Hotkey: None (Menu only by default)

The Metallic visualization mode shows the result of any texturing or Material Expression nodes that are connected to the Material's Metallicinput.

Note: Materials should generally have Metallic values of 0 or 1, not in between. Values between 0 and 1 will happen due to layer blending, but physical materials will always be a metal or not.

Opacity


UE4 Editor View Modes UE4教程 第36张UE4 Editor View Modes UE4教程 第37张
Scene in Lit Mode (Game View On)Scene in Buffer Material AO Mode (Game View On)
  • View Mode Hotkey: None (Menu only by default)

Opacity visualization mode shows the result of any texturing or Material Expression nodes that are connected to the Material's Opacity input. In the images above, you can see the dreadlocks on the character are somewhat transparent.

The Opacity viewmode only shows opaque materials with Opacity being used, which is important in the case of subsurface scattering materials, as the Opacity controls how far light can penetrate.

Roughness

UE4 Editor View Modes UE4教程 第38张

  • View Mode Hotkey: None (Menu only by default)

Roughness visualization mode shows the result of any texturing or Material Expression nodes that are connected to the Material's Roughness input. Roughness variation is where a lot of reflection variation will come from.

Scene Color

UE4 Editor View Modes UE4教程 第39张

  • View Mode Hotkey: None (Menu only by default)

Scene Color shows the result of the scene before any post processing is done. This means before any exposure, bloom, color correction, or antialiasing. In the above image, the scene appears very dark because exposure has not brightened it up for us.

Scene Depth

UE4 Editor View Modes UE4教程 第40张

  • View Mode Hotkey: None (Menu only by default)

Scene Depth shows the depth of the scene in a constant gradient from white (farthest away) to black (closest).

Separate Translucency RGB

UE4 Editor View Modes UE4教程 第41张

  • View Mode Hotkey: None (Menu only by default)

Separate Translucency RGB shows the color information of any Materials that are Translucent and using Separate Translucency.

Separate Translucency A

UE4 Editor View Modes UE4教程 第42张

  • View Mode Hotkey: None (Menu only by default)

Separate Translucency A shows only the alpha information of any Materials that are Translucent and using Separate Translucency.

Specular Color

UE4 Editor View Modes UE4教程 第43张

  • View Mode Hotkey: None (Menu only by default)

Specular Color shows the color being imparted to the specular reflections of a Material. Generally, this is inferred from a combination of the Base Color and Metallic values.

Specular

UE4 Editor View Modes UE4教程 第44张

  • View Mode Hotkey: None (Menu only by default)

Specular shows the results of any texturing or Material Expression nodes that are fed into a Material's Specular input.

Subsurface Color

UE4 Editor View Modes UE4教程 第45张

  • View Mode Hotkey: None (Menu only by default)

Subsurface Color shows the results of any texturing or Material Expression nodes that are fed into a Material's Subsurface Color input.

World Normal

UE4 Editor View Modes UE4教程 第46张

  • View Mode Hotkey: None (Menu only by default)

World Normal shows the world space normal of any opaque surfaces.

Ambient Occlusion

UE4 Editor View Modes UE4教程 第47张

  • View Mode Hotkey: None (Menu only by default)

Ambient Occlusion (AO) shows the result of any ambient occlusion calculations that are taking place on the scene. This is separate from any AO textures applied to Materials, as this is a calculation the engine makes based on surfaces and normal maps.

Landscape Visualizers

Normal

UE4 Editor View Modes UE4教程 第48张

The Normal Landscape visualization mode shows a Landscape in its normal, lit state.

LOD

UE4 Editor View Modes UE4教程 第49张

The LOD Landscape visualization mode breaks a landscape up into color-coded panels which represent their current LOD state.

Layer Density

UE4 Editor View Modes UE4教程 第50张

The Layer Density Landscape visualization mode shows the landscape in a color-coded mode which shifts from green to red as more layers are added to the Landscape.

Exposure

Exposure is a post-processing effect that controls the overall brightness of a scene. This can be set to a fixed value or left to automatic.

Automatic vs. Fixed Exposure

When playing games with Exposure activated in your post processing, you will notice that moving from a light to a dark area or vice versa will cause the camera to temporarily adjust, similarly to how our eyes adjust when moving to different light environments. In most cases, this will be the desired result. However, if the constant shifting is distracting in your particular level, then you can set the view to a fixed exposure. This will lock the exposure in place so it no longer automatically changes as you move from light to dark or dark to light, but it also means that you can easily end up in a situation where the lights are overbright or overdark for the work you need to do.

    评论列表暂无评论
    发表评论