Studio Yotsuba
Back to Node List

Model Texel Density Check

model_texel_density_check

Measures effective texels per world unit and reports regions outside the requested tolerance.

Reviewed
Guide available

Input Ports

NameTypeDescription
Model
model
Model
Required
Generated polygon model to assemble without mesh booleans.
Texture Layout
layout
TextureLayout
Required
Layout matching one mesh in the Model.

Output Ports

NameTypeDescription
Model
model
Model
Assembled game-ready polygon model.
Density Report
report
Text
Human-readable validation report.
Within Tolerance
within_tolerance
Bool
True when every measured triangle is within tolerance.

Parameters

NameTypeDefaultRangeDescription / Options
Target
target_mode
Enum
BoundMaterial—

Compare each region with its bound material density, or one explicit target.

  • BoundMaterialBoundMaterial
  • ExplicitExplicit
Target Density
target_density
Float
160.01–4096 / step 1

Requested texels per world unit in Explicit mode.

Tolerance
tolerance_percent
Float
250–500 / step 1

Allowed percentage difference from target.

Overview

Checks a model's texel density—the number of texture pixels per world unit. With pixel-art textures, inconsistent density is immediately visible as pixels that appear different sizes on different parts, so this node detects that break in visual consistency.

Usage tips

  • Target = BoundMaterial (the default) compares every part region against the texel_density of its bound PBR material. Only unbound regions fall back to the Texture Layout density. Choose Explicit to check everything against one value.
  • Measurement uses each part's final world transform, including its parent hierarchy, rather than raw mesh coordinates. Two differently scaled parts sharing one mesh are therefore measured separately.
  • Warning examples identify the exact Part ID:region#triangle.
  • Use it as a quality check before export. If a region falls outside the allowed range, adjust its UVs (including trim-sheet assignment) or the texture resolution.
  • It is especially useful for models assembled from multiple parts. Automatic UVs on a single primitive rarely cause problems.
  • This node performs inspection only and does not modify the model.

Related nodes

  • model_trim_sheet_apply — the main way to correct density
  • model_set_material — adjusts the texture-resolution side
  • model_render — final visual review
Back to Node List