Skip to main content

Variable: FRAME_VIEWS

const FRAME_VIEWS: string[]

Debug-only views of the mesh's raw tangent-space frame itself (tangentWorld/bitangentWorld) - not trained channels, just the geometry-derived basis every 'tanh'-activated normal/clearcoatNormal/ anisotropy channel is defined relative to. Both the teacher (buildChannelPreviewMaterials) and the neural material (setDebugView) expose these identically so a "normal" debug-view mismatch between the two can be isolated to either the trained (dx, dy) content or this shared frame - if this view already disagrees, the bug is in how the frame itself is built/consumed, not in anything the network learned.