Exploring debugging tools
This process has already been mentioned in the previous chapters of this book. However, it will be great to discuss it in more detail and express more interest in this topic. Debugging inside PCG provides a visual output and this method helps to identify how each node can perform a specific task before the main static mesh is drawn on the landscape. For this reason, let’s present a PCG Graph example with a different nodes structure :
- Within the graph, select the Surface Sampler node and press D to enable debug mode. This will display the current activity of the PCG graph when only the Surface Sampler node is functioning with the Get Landscape Data node .
Figure 10.31 – Debugging Surface Sampler
When we test the debugging tool for Surface Sampler, small cubes will appear on the landscape surface, as shown in the following figure.
Figure 10.32 – Debugging visuals appearing...