DebugMap

Overview

DebugMap is a utility for rendering built in data or attributes for the purpose of debugging. It can overlay a grid atop the data to visualize distortion.

Generally, it is recommended to use render outputs to view the same data without changing any shaders.


Attribute Reference

Normal attributes

input_normal_space

Int enum
  0 = “tangent” (default)
  1 = “render”

Specifies what space the input normal is in. Usually this is tangent space for texture maps and render space for projections

Primitive Attribute attributes

primitive_attribute_name

String
default: surface_st

the name of primitive attribute to displayed when attribute 'map type' is set to 'primitive attribute'

primitive_attribute_type

Int enum
  0 = “float”
  1 = “vec2f” (default)
  2 = “vec3f”
  3 = “rgb”

the type of primitive attribute to displayed when attribute 'map type' is set to 'primitive attribute'

General attributes

checkerboard

Bool
default: True

No documentation available

input_normal

Vec3f bindable
default: [ 0, 0, 1 ]

No documentation available

input_normal_dial

Float
default: 1.0

No documentation available

map_type

Int enum
  0 = “position” (default)
  1 = “texture st”
  2 = “shading normal”
  3 = “geometric normal”
  4 = “dpds”
  5 = “dpdt”
  6 = “primitive attribute”

No documentation available