Docs

Reference

Master material parameters

Every parameter of M_TileBreak_Master with its default, range and what it does.

Every value is an instance parameter. Defaults are the master's; the presets override some (Choose a method). Ranges are the slider ranges. Read from the shipped asset (tilebreak_params.json).

00 TileBreak#

Parameter Default Range What it does
Enable 1 0-1 0 = plain sampling through the same mapping (the honest OFF), 1 = TileBreak. Runtime switch.
Method 3 0-4 0 Off (plain sample, the honest comparison), 1 Dithered (one tap per pixel, cheapest; needs TSR/TAA), 2 Cell (organic cells, 1-2 taps), 3 Hex (3 blended taps, smoothest for grounds), 4 Aligned (bricks, tiles, planks: courses and joints stay unbroken).
CellSize 0.6 0.2-4 Cell size in texture tiles (Hex: vertex spacing; Cell: cell size). Smaller = more variation, more seams.
Seed 0 0-64 Whole number: a different seed gives a different arrangement of the same cells.

01 Textures#

Parameter Default Range What it does
BaseColor texture Base colour (sRGB). Alpha = height for the seams (HeightSource 0; the presets pack it). No alpha: keep HeightContrast 0 or set HeightSource 2.
Normal texture Normal map (DirectX; OpenGL: FlipNormalGreen = 1).
ORM texture R occlusion, G roughness, B metallic (sRGB off).
Height texture Optional height map (R, white = top), used when HeightSource = 1.
HeightSource 0 0-2 Height for the seams: 0 = BaseColor alpha (the presets), 1 = Height texture (R), 2 = luminance of the base colour.
FlipNormalGreen 0 0-1 1 = OpenGL normal map (green up). Unreal / DirectX maps: 0.

02 Mapping#

Parameter Default Range What it does
WorldAligned on switch World-aligned mapping (default ON): the texture is laid in world space at TextureSize_m, on floors, walls and any mesh (no UVs needed, scaled meshes keep the texel size). OFF: the mesh's UV0 x MeshUVSize_m / TextureSize_m.
TextureSize_m 2 0.1-20 Real size of one texture tile in metres (world-aligned tiling, distance tier, macro, Aligned seams).
Projection 2 0-2 World-aligned: 0 Top (floors, landscapes), 1 Sides (walls), 2 Auto (box by the surface normal).
ProjectionBlend 0.1 0-0.5 World-aligned Auto: width of the dithered seam where the projection changes (curved surfaces).
MeshUVSize_m 1 0.01-1000 UV mode only: metres covered by one UV unit of the mesh (1 for meshes with UVs in metres and UE's basic shapes).

03 Cells#

Parameter Default Range What it does
RotationAmount 0.25 0-1 Random rotation per cell: 0 none, 0.25 = +-45 deg, 1 = full 360 deg. Keep low for scans with baked light or a direction (wind ripples, gravity streaks).
RotationStep_deg 0 0-180 0 = free rotation; 90 or 180 snaps the rotation (tiles that only look right in steps).
RotationBase_deg 0 -180-180 Rotation added to every cell (turns the whole texture).
MirrorMode 1 0-3 Random mirror per cell: 0 none, 1 X, 2 Y, 3 X and Y. Normals are corrected.
ScaleMin 1 0.5-2 Smallest random scale per cell (1 = none).
ScaleMax 1 0.5-2 Largest random scale per cell (1 = none). Scale jitter changes texel density per cell.
CellJitter 0.8 0-1 Cell: how irregular the cell centres are (0 = square grid).
WarpAmount 0.35 0-1 Cell: warp of the cell borders in cells (organic, wavy seams; 0 = straight Voronoi edges).
WarpScale 1 0.25-4 Cell: period of the border warp in cells.
DitherSharpness 20 1-40 Dithered: how narrow the dithered seam bands are (20 keeps the contrast after TSR).
LatticeWarp 0.3 0-1 Hex / Dithered: warp of the lattice in cells: organic seams, no hexagon pattern (0 = plain hex lattice).
LatticeWarpScale 0.5 0.25-4 Hex / Dithered: period of the lattice warp in cells.

04 Blend#

Parameter Default Range What it does
BlendSharpness 20 1-40 How narrow the seams are: high = short, crisp transitions (detail stays sharp), low = wide, soft blends.
HeightContrast 0 0-3 How much the height decides the seam: 0 = geometric seams (Hex default), 1-1.5 = stones keep their outline (Cell, Aligned).
BlendWidth 0.15 0.01-0.5 Cell: half width of the seam band in cells. Aligned: half width of the vertical-joint band in metres.

05 Large Scale#

Parameter Default Range What it does
Flatten 0.5 0-1 Removes each tap's own large-scale light/dark gradient so cells never read as blotches (0 = off).
FlattenMipOffset 2 1-5 Which low-pass Flatten removes: 2 = the texture's 4 x 4 mip (larger = only the broadest gradient).

06 Distance#

Parameter Default Range What it does
UseDistance 1 0-1 Distance tier: far away, a second sample at another scale and rotation is mixed in so far ground never shows a grid. Grounds only (it rotates the content: off on walls and Aligned).
FarStart_m 15 0-200 Distance tier starts here (m).
FarEnd_m 45 1-400 Distance tier is at full FarMix from here (m).
FarScale 0.37 0.1-1 Scale of the far sample (0.37 = the texture 2.7 x larger).
FarRotation_deg 37 -180-180 Extra rotation of the far sample.
FarMix 0.4 0-1 How much of the far sample at FarEnd_m.
FarCell_m 7 1-50 Size of the far sample's random cells in metres.
UseFarFallback off switch Far fallback (default OFF, no cost). ON: from FarFallbackStart_m to FarFallbackEnd_m pixels switch, dithered, from Cell / Hex to the 1-tap Dithered method on the same cells: cheaper far away, repetition stays broken. Off, Dithered and Aligned keep their method.
FarFallbackStart_m 50 0-500 Far fallback: distance (m) where pixels start switching to the 1-tap Dithered method.
FarFallbackEnd_m 80 1-1000 Far fallback: distance (m) from which every pixel uses the Dithered method.

07 Macro#

Parameter Default Range What it does
UseMacro 0 0-1 Macro variation: world-space brightness / hue / roughness noise (pure math, no texture) against large-scale sameness.
MacroScale_m 18 1-200 Size of the macro variation in metres.
MacroBrightness 0.06 0-0.5 Macro brightness amplitude (0.06 = +-6 %).
MacroHue 0.02 0-0.2 Macro warm/cool shift amplitude.
MacroSaturation 0 0-0.5 Macro saturation amplitude.
MacroRoughness 0.04 0-0.3 Macro roughness amplitude.

08 Aligned#

Parameter Default Range What it does
CourseCount 4 1-16 Aligned: number of courses (rows) in one texture tile.
CoursePhase 0 0-1 Aligned, uniform courses: V of the first mortar line (0..1).
UseCourseLines 0 0-1 Aligned: 1 = use the measured CourseLines0-3 (hand-laid courses, the presets); 0 = uniform courses from CourseCount and CoursePhase.
OffsetStepsU 0 0-16 Aligned: snap the per-segment U offset to this many steps per tile (bricks per row of a regular pattern; 0 = free).
CellsU 0.75 0.25-4 Aligned: length of a re-randomised segment along a course, in tiles. A joint table with a baked layout (the Blocks, Bricks and Pavers presets) has its own segment lengths (0.3-1.2 tile) and ignores this.
AlignedMirrorX 0 0-1 Aligned: random mirror along the courses (off for scans with baked light).
MortarBand_m 0.008 0.001-0.05 Aligned: half width of the seam band along the mortar lines (m).
CourseMatch 0.08 0-0.5 Aligned: a course may be swapped for another course whose height is within this fraction (stretched to fit). Baked into a layout table (the presets).
CourseShuffle 1 0-1 Aligned: 1 = every tile row starts at a random course (the course rhythm does not repeat every tile). Baked into a layout table (the presets).
JointTable texture Aligned: the measured vertical joints of every course (a 32 x 16 table texture; format on the Bricks, blocks and pavers page). The Blocks, Bricks and Pavers presets ship theirs with a baked layout: segments of varied length, each starting and ending in a joint (no stone is cut), no run repeated within 4 segments of a course, no stone next to or stacked on its own copy. Default T_TileBreak_JointTable_None: segments are cut freely along the course.
CourseLines0 (0, 0.25, 0.5, 0.75) Aligned: measured mortar lines (V, ascending), values 0-3.
CourseLines1 (0, 0, 0, 0) Aligned: measured mortar lines (V, ascending), values 4-7.
CourseLines2 (0, 0, 0, 0) Aligned: measured mortar lines (V, ascending), values 8-11.
CourseLines3 (0, 0, 0, 0) Aligned: measured mortar lines (V, ascending), values 12-15.

09 Look#

Parameter Default Range What it does
BaseColorTint (1, 1, 1, 1) Multiplies the base colour.
Brightness 1 0-4 Base colour multiplier.
Saturation 1 0-2 0 = grey, 1 = as scanned, 2 = more saturated.
NormalStrength 1 0-2 Normal map strength.
RoughnessMin 0 0-1 Roughness where the ORM green channel is 0.
RoughnessMax 1 0-1 Roughness where the ORM green channel is 1.
AOStrength 1 0-1 Strength of the ORM red channel (ambient occlusion).
Metallic 1 0-1 Multiplies the ORM blue channel.
Specular 0.5 0-1 Specular (0.5 = default dielectric).

10 Debug#

Parameter Default Range What it does
SplitCompare 0 0-1 Comparison only: 1 = TileBreak only on the side of SplitOrigin that SplitDirection points to, plain sampling on the other side (same material, same mapping).
SplitOrigin (0, 0, 0, 1) Comparison split: a world point on the split plane (cm).
SplitDirection (0, 1, 0, 1) Comparison split: world direction pointing to the TileBreak side.
ShowCells 0 0-1 Debug: tints every cell with its own colour (seams, lattice and courses become visible).

11 Vertex Paint#

Parameter Default Range What it does
UseVertexPaint off switch Vertex paint (default OFF: meshes with vertex colours are untouched, no cost). ON: vertex colour R = TileBreak mask (1 = TileBreak, 0 = plain sampling; in between each pixel picks one or the other with probability R, no blend of two images), G = macro variation amount (x VP_MacroMax). Unpainted meshes read white = no change. Not on decals.
VP_MacroMax 1 0-3 Vertex paint: macro amplitude where vertex G = 1 (white / unpainted = the instance's own macro); 2 lets G paint up to twice the macro.

Three static switches recompile the instance when you change them; everything else is a runtime value. WorldAligned (group 02 Mapping): ON (default) maps the texture in world space at TextureSize_m; OFF uses the mesh's UV0 x MeshUVSize_m / TextureSize_m (set MeshUVSize_m to the metres one UV unit covers on your mesh; 1 for meshes with UVs in metres and Unreal's basic shapes). UseVertexPaint and UseFarFallback have their own pages, Vertex paint and Far fallback; both are off by default, and off they are compiled out: no cost, and the image is the same as without them (tilebreak_controls_ab.json: before / after difference at most 0.23 / 255 on 9 frames, frame-to-frame noise up to 0.96 / 255).