Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Editor/Tools/LightmapTransferTool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1070,12 +1070,12 @@ void DrawRepackDensityControls()
"Fraction of [0,1]² normalized UVs sum to. Lower → safer fit, smaller charts; "
+ "higher → tighter pack but risk of overflow + downscale."),
ctx.TargetUvCoverage, 0.3f, 0.95f);
ctx.ClampLightmapToUnit = EditorGUILayout.ToggleLeft(
new GUIContent("Clamp UV2 to [0,1]",
"Cheap safety net against verts pushed a fraction of a texel outside the unit square."),
ctx.ClampLightmapToUnit);
EditorGUI.indentLevel--;
}
ctx.ClampLightmapToUnit = EditorGUILayout.ToggleLeft(
new GUIContent("Clamp UV2 to [0,1]",
"Cheap safety net against verts pushed a fraction of a texel outside the unit square."),
ctx.ClampLightmapToUnit);
}

void DrawRepackCompressionControls()
Expand Down
Loading