Debugging

Our goal is to have as much data publicly available to see as possible. If something is not working, you should know what isn’t and why.

UE4 Debug Overlays

To show the trueSKY debugging overlays, assign the Render Target Texture TrueSkyOverlayRT (under TrueSkyPlugin/Overlay content) to the Overlay RT slot in the trueSKY Sequence Actor. The RT texture is then used with the PostProcessVolume: under Rendering Features, add a Post Process Material, and set it to the TrueSkyOverlay material reference.

../_images/postprocessmaterial.png ../_images/overlayrt.png

The overlays can then be set in Windows->Overlays and then select the overlays you want to show.

../_images/DebugWindows.png

Celestial Display

Shows the current position and path of the Sun and Moon. The circles indicate the positions between the current and next keyframe.

../_images/CelestialDisplay.png

Profiling

Use profiling to aid performance measuring. This is a good way to determine what aspects of trueSKY are the most performance heavy.

../_images/Profiling.png

Atmospheric Tables

Detailed numbers on lighting values as well as colours. Issues with lighting can be looked at here. .. image:: ../../Help/images/AtmosphericTables.png

Cube Maps

Helpful to see what your clouds are doing. Will cycle through the different Mips.

../_images/CubeMaps.png

Water Texture

Here you can view the water Texture to see any issues that may be caused due to overlapping terrain or unusual behaviour.

Flow Rays

Lighting

Composition

Here is an overview of many of the systems use, helpful for depth tests and general debugging.

../_images/composition.png

Rain Overlay

Here is an overlay of the rain map texture. If the precipitation volume is blank, then the rain does not know where to fall. Rain will only fall under clouds, unless specifically asked not to.

../_images/RainOverlay.png

3D cloud Textures

3D clouds textures including the shadow map texture. Helpful to see how much your Worley setting are affecting the clouds, as well as how large the Shadow Map is.

../_images/cloudtextures.png