Path Tracing
Loading...
Searching...
No Matches
Debug View

Variables

uniform int DEBUG_VIEW
const int DEBUG_VIEW_OFF = 0
const int DEBUG_VIEW_SHADING_NORMALS = 1
 smoothed + normal mapped (h.normal)
const int DEBUG_VIEW_GEOM_NORMALS = 2
 flat face normal (h.geom_normal)

Detailed Description

Replaces the path tracer with flat data from the primary hit

Variable Documentation

◆ DEBUG_VIEW

uniform int DEBUG_VIEW
See also
pathTraceDebugs

◆ DEBUG_VIEW_GEOM_NORMALS

const int DEBUG_VIEW_GEOM_NORMALS = 2

flat face normal (h.geom_normal)

◆ DEBUG_VIEW_OFF

const int DEBUG_VIEW_OFF = 0

◆ DEBUG_VIEW_SHADING_NORMALS

const int DEBUG_VIEW_SHADING_NORMALS = 1

smoothed + normal mapped (h.normal)