debugViews property

bool debugViews
final

Whether the fragment shader includes material_debug.glsl and selects its output through DebugViewMode() and DebugSurfaceOutput(), so the scene's surface debug views can show its resolved surface. Defaults to false, in which case an active view draws this material through the engine's fallback debug shader (geometry and identity channels only).

Implementation

final bool debugViews;