set_debug_draw
Switch the running game's debug draw mode to isolate render stages: unshaded (albedo), wireframe (geometry), overdraw (transparency), normal_buffer (normals), lighting (light), normal (reset).
Instructions
Switch the RUNNING game's viewport debug draw mode, then screenshot to see one render stage in isolation. unshaded = albedo only (clears lighting/fog/exposure as suspects in one shot). wireframe = is the geometry even there (culled or degenerate meshes show as nothing). overdraw = transparency cost. normal_buffer = flipped or NaN normals. lighting = light contribution only. normal = back to the real image. Reach for this FIRST when the picture is wrong; render_probe then answers the same question in numbers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | normal | unshaded | lighting | overdraw | wireframe | normal_buffer |