Skip to content

Parameters ​

Every parameter of the pipeline, by group. The same texts are shown by the ? buttons of the app, by pbrgen params and by the MCP tools list_params / describe_param: they come from one source.

Set a parameter with --set name=value on the command line, in Advanced mode in the app, in a preset file (a flat JSON object) or in the params argument of an MCP tool. Radii, blurs and the normal strength are defined at reference_size (1024) pixels and scale with the image, so a preset gives the same look at 512 and at 4096.

General ​

3 parameters

ParameterDefaultTypical range / choicesDescription
reference_size10240 .. 4096Width in pixels at which pixel-sized parameters and normal strength are defined. 0 disables the scaling (parameters are raw pixels). Tip: Leave at 1024: one preset then looks the same at 512, 1024 or 4096. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
resize00 .. 4096Centre-crop to a square and resize to this size before processing. 0 keeps the input size. Tip: Use 1024 or 2048 for huge photos: much faster. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed, albedo.
output_prefix"Texture"File name prefix: <prefix>_Height.png, <prefix>_Normal.png, ... Tip: Empty or 'Texture' uses the input file name. Affects: files.

Input ​

4 parameters

ParameterDefaultTypical range / choicesDescription
input_kind"height"height, photo, normal, proceduralWhat the input is: a height map, a photo / albedo (height is estimated), a tangent-space normal map (height is integrated), or procedural (no input: the height is generated, see the proc_* parameters). Tip: Grey with light = high is a height map; purple/blue is a normal map; anything else is a photo. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
input_channel"luma"luma, average, r, g, b, aHow a colour input becomes one channel (height and photo inputs). Tip: luma suits almost everything; use r/g/b/a when the height sits in one channel. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
input_normal_convention"opengl"opengl, directxGreen convention of a normal-map input. Tip: A normal map from Unreal or Substance (DirectX)? Pick directx. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
albedo_enabledfalseAlso write the (seamless) colour input as <prefix>_Albedo.png. Tip: Useful with a photo + seamless: the albedo gets the same seam fix as the other maps. Affects: albedo.

Procedural ​

18 parameters

ParameterDefaultTypical range / choicesDescription
proc_generator"bubbles"bubbles, ropes, billowsGenerator of the procedural height (pbrgen/procedural/): packed bubbles or cells, oriented ropes / ridges, or multi-scale soft billows. Tip: Foam: bubbles; current: ropes; cloud or thick foam: billows. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
proc_seed10 .. 9999Seed: the same seed gives the same height at every size. Tip: Don't like the layout? Roll another seed. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
proc_layers""Mix of generators instead of proc_generator: 'generator:mode:weight' items separated by commas, mode add / max / multiply, e.g. 'billows:add:1, bubbles:max:0.7'. Layer i uses seed proc_seed + i. Empty = proc_generator alone. Tip: max puts bubbles on top of the billows; multiply cuts one layer with the other. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
proc_bubble_min_radius6.01.0 .. 64.0Smallest bubble radius (px). Tip: Small bubbles fill the gaps between the large ones. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
proc_bubble_max_radius36.02.0 .. 128.0Largest bubble radius (px). Radii in between follow foam's inverse-cubic density (many small, few large), placed largest first. Tip: The max/min ratio gives the variety: 6 to 36 looks like foam. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
proc_bubble_coverage0.80.1 .. 1.0Share of the area the bubbles cover (0..1); dart throwing stops there or when no candidate fits. Tip: Below 0.6 leaves water showing between the bubbles. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
proc_bubble_overlap0.30.0 .. 0.9How far two bubbles may press into each other, as a share of the smaller radius (0 = just touching). Tip: 0.3 is the AWP foam: the gaps become narrow creases. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
proc_bubble_profile"hemisphere"hemisphere, dome, flatCross-section of a bubble: hemisphere (spherical cap), dome (softer parabola) or flat (a plateau: cells, stones). Tip: flat with low overlap gives cobbles. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
proc_rope_direction0.0-180.0 .. 180.0Direction the ropes run in, degrees counter-clockwise from +x (v up). Tip: Line it up with the river current. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
proc_rope_jitter0.00.0 .. 90.0How far the direction wanders across the tile, degrees (0 = straight). Tip: 10 to 25 makes the flow look natural. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
proc_rope_wavelength48.04.0 .. 256.0Distance between neighbouring ropes (px). Tip: It is the visible spacing between the crests. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
proc_rope_length192.08.0 .. 1024.0How far a rope runs before it breaks up (px). Tip: Long = stripes; short = elongated pieces. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
proc_rope_sharpness0.50.0 .. 1.00 = soft waves, 1 = sharp ridged crests with round troughs. Tip: Dunes and stretched foam: 0.4 to 0.7. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
proc_billow_scale256.016.0 .. 1024.0Size of the largest billows (px). Tip: About a quarter of the tile gives large masses. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
proc_billow_octaves51 .. 8Number of billow scales, each lacunarity times finer. Tip: More octaves = more fine detail. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
proc_billow_persistence0.50.1 .. 0.9Amplitude of each finer scale relative to the previous one. Tip: 0.5 is the classic; raise it for more texture. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
proc_billow_lacunarity2.01.5 .. 3.0Frequency step between scales (non-integer values tile too). Tip: 2 is the classic; 1.8 to 2.2 avoids visible repetition between scales. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
proc_billow_softness0.50.0 .. 4.0tanh shaping of the sum: higher = cottony masses, lower = creased. Tip: Thick foam: 0.4 to 1; above that the tops turn into plateaus. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.

Seam ​

6 parameters

ParameterDefaultTypical range / choicesDescription
seam_mode"none"none, offset_blend, histogram_preserving, periodic, periodic_blend, mirrorHow a non-tiling input is made to tile (see pbrgen/seamless.py). none assumes it already tiles. periodic (Moisan) for photos: no duplicated content, and the height estimate smooths the slope kink. periodic_blend for heights: Moisan plus a narrow blend of the fine detail only. offset_blend hides any seam but duplicates content (ghost clumps). Tip: If the image already tiles (like the AWP foam height), keep none: offset_blend adds ghost clumps. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed, albedo.
seam_target"source"source, heightApply to the source image before height estimation, or to the estimated height only (the colour stays as it is). Tip: source is the usual choice; height keeps the colour untouched when the albedo does not matter. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed, albedo.
seam_blend_width0.250.0 .. 0.5Width of the band along the edges where the half-offset copy takes over, as a fraction of the size (0..0.5). 0 = identity. Tip: 0.2 to 0.3 hides the seam well; wider blends more and smears detail. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed, albedo.
seam_mask_softness1.00.0 .. 1.0Share of the band that is a smooth ramp (0..1). 0 = hard switch. Tip: Keep 1 for height; lower it only if the band shows doubling. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed, albedo.
seam_detail_sigma4.00.5 .. 32.0periodic_blend: detail finer than this Gaussian sigma (px) is blended across the edges; coarser shapes keep Moisan's periodic part untouched. Tip: 4 suits almost everything; raise it if the seam still shows in the normal. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed, albedo.
seam_detail_width0.050.0 .. 0.25periodic_blend: width of the edge band where the detail is blended, as a fraction of the size (0..0.5). Narrow: little duplicated detail. Tip: 0.03 to 0.08. Wider hides more and duplicates more. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed, albedo.

Photo ​

12 parameters

ParameterDefaultTypical range / choicesDescription
photo_flatten_mode"blur"blur, plane, poly2Lighting flatten of a photo. blur: only the log-space de-lighting (photo_delight_sigma). plane / poly2: first divide out a fitted plane or quadratic of the log luminance (a light gradient across the photo), before the seam pass, then the de-lighting. Tip: Photo brighter on one side? Use plane; brighter in the middle (vignette), poly2. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
photo_delight_sigma128.00.0 .. 512.0Remove lighting larger than this sigma (px), as a ratio. 0 = off. Tip: Photo with a large shadow or vignette? Lower it to 64. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
photo_local_contrast_sigma32.02.0 .. 256.0Neighbourhood (px) of the local contrast normalisation. Tip: Close to the size of the shapes that should share one contrast. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
photo_local_contrast0.00.0 .. 1.0Local contrast normalisation amount (0..1). Evens out flat and busy regions. Tip: 0.3 to 0.5 when one side of the photo is much darker. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
photo_octaves61 .. 10Number of difference-of-Gaussian bands; sigma doubles per band. Tip: 6 covers 1 to 64 px; raise it for 4K photos with large shapes. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
photo_base_sigma1.00.5 .. 8.0Sigma (px) of the finest band split. Tip: Raise it if sensor noise turns into relief. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
photo_weight_micro0.250.0 .. 2.0Weight of bands up to 1 px: grain, sensor noise. Tip: Lower it to remove hiss; 0 leaves a clean surface. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
photo_weight_fine0.60.0 .. 2.0Weight of bands of 1..4 px: small pores, sand grains. Tip: Raise it for sand and concrete; lower it for smooth stones. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
photo_weight_medium1.00.0 .. 2.0Weight of bands of 4..16 px: pebbles, cracks, lumps. Tip: This band gives the material its look: start here. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
photo_weight_large0.60.0 .. 2.0Weight of bands above 16 px and the residual: overall shape. Tip: Raise it for large stones; lower it if the photo's lighting turns into relief. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
photo_crevice_strength0.00.0 .. 3.0Push dark narrow features down as cracks (0 = off, ~0.5..2). Tip: Great for grout, cracks and gaps between stones. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
photo_crevice_radius3.01.0 .. 12.0Half-width (px) of what counts as narrow for the crevice emphasis. Tip: Close to the width of the cracks in the photo. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.

Physical ​

2 parameters

ParameterDefaultTypical range / choicesDescription
tile_size_m0.00.0 .. 20.0Real-world size of one tile in metres. With height_range_m, the normal and the slope are physical (normal_strength is derived and ignored). 0 = off. Tip: A 2 m stone floor: 2. Change the size and the relief keeps the same real height. Affects: normal, slope.
height_range_m0.00.0 .. 1.0Height difference in metres between white and black in the height. Used with tile_size_m. 0 = off. Tip: Rock: 0.02 to 0.1; foam: 0.01 to 0.05. Affects: normal, slope.

Height ​

15 parameters

ParameterDefaultTypical range / choicesDescription
height_invertfalseDark is high (e.g. holes or gaps in a light surface). Tip: Use it when the relief comes out inside out (holes become hills). Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
height_highpass0.00.0 .. 512.0Remove features larger than this Gaussian sigma (px), e.g. a photo's uneven lighting. 0 = off. Tip: 64 to 128 flattens a ramp or gradient that should not be relief. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
height_blur0.00.0 .. 16.0Gaussian blur sigma (px) to soften the height. 0 = off. Tip: 0.5 to 1.5 removes aliasing and noise and keeps the shape. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
height_dequantize_blur0.00.0 .. 4.0Gaussian sigma (px) applied to the raw height before the height chain, to hide the steps of an 8-bit source in normals and slopes. 0 = off; about 0.5..2 for an 8-bit height (a run warns with a suggestion). Tip: An 8-bit height drawing contour lines in the normal? Start from the value the warning suggests (about 1); a 16-bit source is better. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
height_bandpass_low_sigma0.00.0 .. 128.0Sharp spectral cut of wavelengths longer than 2 pi sigma (px): removes low-frequency swirls and blotches but keeps everything smaller, unlike the gentle height_highpass. 0 = off. Tip: Swirls or large blotches turned into relief? 16 to 48 (cuts shapes above 100 to 300 px). Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
height_normalize"percentile"percentile, tanh, equalize, noneRange mapping: percentile stretch, tanh soft clip (mean +- height_soft_k std, no flat plates), histogram equalisation, or none. Tip: none keeps the original height byte for byte (with neutral levels, contrast and gamma). Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
height_soft_k1.80.5 .. 5.0height_normalize = tanh: z-scores are squashed by tanh(z / k), then stretched to 0..1. Smaller k flattens the extremes more; about 1.5..2.5. Tip: 1.8 is the AWP foam recipe (tanh of 0.55 z). Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
height_low_percentile0.50.0 .. 20.0Percentile mapped to 0 when height_normalize = percentile. Tip: Raise it when a few very dark pixels flatten the rest. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
height_high_percentile99.580.0 .. 100.0Percentile mapped to 1 when height_normalize = percentile. Tip: Lower it when a few very bright pixels flatten the rest. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
height_levels_low0.00.0 .. 1.0Levels input black point, after normalisation. Tip: Raise it to sink the valleys and flatten the floor. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
height_levels_high1.00.0 .. 1.0Levels input white point, after normalisation. Tip: Lower it to clip the peaks into a plateau. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
height_contrast1.00.1 .. 4.0Contrast around 0.5. 1 = unchanged. Tip: Above 1 makes the relief bolder; below 1 softer. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
height_gamma1.00.2 .. 4.0Gamma (height ** gamma). > 1 sharpens peaks and widens valleys. Tip: 1.5 gives rounded lumps; 0.7 gives plateaus with thin gaps. Affects: height, normal, ao, curvature, cavity, roughness, smoothness, mask, packed.
height_bits168, 16Bit depth of the saved height. 8 bits terrace smooth slopes. Tip: Keep 16 for displacement and parallax. Affects: height.
height_format"png"png, exr_float, exr_halfFile format of the height (standalone): png (height_bits), exr_float (32-bit float OpenEXR, ZIP) or exr_half (16-bit float). Godot imports a 16-bit PNG as 8 bits, an EXR at full precision. Tip: A height for Godot or for strong displacement: exr_float. Affects: height, files.

Normal ​

5 parameters

ParameterDefaultTypical range / choicesDescription
normal_enabledtrueWrite the normal map. Tip: Almost always on. Affects: normal.
normal_strength4.00.0 .. 40.0Slope multiplier (height units per pixel at reference_size). Tip: 4 to 8 for most; foam and sand look right around 6. Affects: normal.
normal_convention"opengl"opengl, directxopengl: green up (Unity, Blender). directx: green down (Unreal). Tip: Unity uses OpenGL. Getting this wrong flips the light on the relief. Affects: normal.
normal_method"sobel"sobel, centralGradient filter: sobel (smoother) or central differences (sharper). Tip: central for crisp fine detail; sobel hides noise. Affects: normal.
normal_suffix_conventionfalseName the normal file after its convention: <prefix>_Normal_GL.png or <prefix>_Normal_DX.png (standalone export). Tip: Turn it on when one folder feeds different engines: the name says which green it is. Affects: files.

AO ​

4 parameters

ParameterDefaultTypical range / choicesDescription
ao_enabledtrueWrite the AO map. Tip: Keep it on for the G channel of the mask map. Affects: ao, packed.
ao_radii[2.0, 6.0, 16.0]Gaussian sigmas (px) of the neighbourhoods compared with each pixel. Tip: Larger radii darken wide valleys; smaller ones only the gaps. Affects: ao, packed.
ao_strength3.00.0 .. 10.0How dark a given depth below the neighbourhood gets. Tip: 2 to 4; beyond that the AO reads as dirt. Affects: ao, packed.
ao_power1.00.2 .. 4.0Gamma applied to the AO. > 1 darkens. Tip: Fine tuning after ao_strength. Affects: ao, packed.

Curvature ​

3 parameters

ParameterDefaultTypical range / choicesDescription
curvature_enabledtrueWrite the curvature map (0.5 flat, bright convex, dark concave). Tip: Good for edge wear in a shader. Affects: curvature, roughness, smoothness, packed.
curvature_radii[1.0, 4.0]Scales (px) averaged: small = fine edges, large = broad shapes. Tip: Two scales, one fine and one medium, work well. Affects: curvature, roughness, smoothness, packed.
curvature_strength8.00.0 .. 40.0Contrast of the curvature around 0.5. Tip: Raise it until the edges get almost white. Affects: curvature, roughness, smoothness, packed.

Cavity ​

3 parameters

ParameterDefaultTypical range / choicesDescription
cavity_enabledtrueWrite the cavity map (white, dark only in crevices). Tip: Sharper than AO: good for dirt in the gaps. Affects: cavity, roughness, smoothness, packed.
cavity_radius1.00.5 .. 16.0Scale (px) of the crevices. Tip: Close to the width of the gaps. Affects: cavity, roughness, smoothness, packed.
cavity_strength8.00.0 .. 60.0How dark the crevices get. Tip: 8 to 16 for most materials. Affects: cavity, roughness, smoothness, packed.

Roughness ​

8 parameters

ParameterDefaultTypical range / choicesDescription
roughness_enabledtrueWrite the roughness map. Tip: Keep it on for the A channel (smoothness) of the mask map. Affects: roughness, smoothness, packed.
roughness_min0.350.0 .. 1.0Roughness of the smoothest areas (convex, high, open). Tip: Lower = shiny tops, like polished stone. Affects: roughness, smoothness, packed.
roughness_max0.850.0 .. 1.0Roughness of the roughest areas (crevices). Tip: Close to 1 for fully matte gaps. Affects: roughness, smoothness, packed.
roughness_cavity_weight1.00.0 .. 2.0Weight of 1 - cavity (crevices rougher). Tip: The most useful term: gaps get matte. Affects: roughness, smoothness, packed.
roughness_curvature_weight0.50.0 .. 2.0Weight of 1 - curvature (convex edges smoother). Tip: Mimics edges polished by wear. Affects: roughness, smoothness, packed.
roughness_height_weight0.00.0 .. 2.0Weight of 1 - height (low areas rougher). Tip: Good for dust settled in the valleys. Affects: roughness, smoothness, packed.
roughness_contrast1.00.1 .. 4.0Contrast of the combined term before mapping to [min, max]. Tip: Raise it to separate shiny from matte. Affects: roughness, smoothness, packed.
smoothness_enabledfalseAlso write smoothness = 1 - roughness (Unity's convention). Tip: For shaders that want smoothness instead of roughness. Affects: smoothness.

Tone ​

4 parameters

ParameterDefaultTypical range / choicesDescription
tone_enabledfalseWrite <prefix>_Tone.png: brightness variation for the albedo, from the height's own shading plus the source's clump-scale variation and fine grain (the AWP foam mat detail G). Linear, band-limited: no large blotches. Tip: Multiply the albedo by it, or pack it with the AO in a BC5 (pack_channels = rg). Affects: tone, packed.
tone_height_weight0.550.0 .. 1.0Weight of the height detail (height minus a 40 px blur) in the tone. Tip: It gives each clump its own shading. Affects: tone, packed.
tone_band_weight0.30.0 .. 1.0Weight of the source's clump-scale variation (luminance minus a 24 px blur). Tip: Raise it for the tone to follow the photo more. Affects: tone, packed.
tone_grain_weight0.150.0 .. 1.0Weight of the source's fine grain (luminance minus a 2 px blur). Tip: Bubble or sand grain; lower it if it turns into hiss. Affects: tone, packed.

Slope ​

3 parameters

ParameterDefaultTypical range / choicesDescription
slope_enabledfalseWrite <prefix>_Slope.png: the baked slope dH/dx (R) and dH/dv (G, v up), signed, 16-bit, encoded 0.5 + 0.5 * slope / slope_scale. A shader reads it instead of taking screen derivatives of a filtered height. Units: height units per tile, or metres per metre with the physical scale. Tip: The foam lesson: screen derivatives of a bilinear height draw facets and stair steps. Affects: slope.
slope_scale0.00.0 .. 200.0Slope that maps to 0 / 1 in the slope map. 0 = automatic (the largest slope, rounded up); the value used is in the manifest. Tip: Pin a value when several tiles must share one scale in the shader. Affects: slope.
slope_pack_heightfalseAlso write <prefix>_SlopeHeight.png, 16-bit RGBA: R, G slope, B and A height. Tip: One RGBA64 texture with all a shader needs for the relief. Affects: slope.

Mask ​

3 parameters

ParameterDefaultTypical range / choicesDescription
mask_enabledfalseWrite a threshold mask of the highest parts of the height. Tip: Useful for moss, snow or water on the high or low parts. Affects: mask.
mask_coverage0.50.0 .. 1.0Share of the area that is white. Tip: 0.3 covers only the tops. Affects: mask.
mask_softness0.020.001 .. 0.2Anti-aliasing width, in height units. Tip: 0.02 to 0.05 avoids jaggies. Affects: mask.

Pack ​

8 parameters

ParameterDefaultTypical range / choicesDescription
metallic0.00.0 .. 1.0Constant metallic value, available to packing as 'metallic'. Tip: 0 for non-metals (stone, foam, sand). Affects: packed.
pack_enabledtrueWrite a packed RGBA texture. Tip: The default is the URP/HDRP mask map (metallic, AO, detail, smoothness). Affects: packed.
pack_suffix"MaskMap"File suffix of the packed texture. Tip: MaskMap is the name Unity uses. Affects: packed.
pack_channels"rgba"rgba, rgrgba: four channels. rg: only R and G (B written as 0, no alpha), for a BC5 two-channel texture, e.g. pack_r = ao, pack_g = tone. Tip: BC5 keeps two channels at higher quality than BC7 keeps four. Affects: packed.
pack_r"metallic"Source of R: a map name, 'normal.x', a constant like '0.5', '1-<map>'. Tip: Unity mask map: metallic. Affects: packed.
pack_g"ao"Source of G. Tip: Unity mask map: ao. Affects: packed.
pack_b"1"Source of B (detail mask in a Unity mask map). Tip: 1 = detail everywhere. Affects: packed.
pack_a"1-roughness"Source of A (smoothness in a Unity mask map). Tip: 1-roughness = Unity smoothness. Affects: packed.

Export ​

1 parameters

ParameterDefaultTypical range / choicesDescription
export_profile"standalone"standalone, unity_urp, unity_hdrp, unreal, godotFiles to write (pbrgen/profiles.py): standalone = the loose maps chosen here; unity_urp, unity_hdrp, unreal, godot = that engine's material set with its channel packing, normal convention, 16-bit height, a manifest and import notes. Tip: Going straight into an engine? Pick it: names, channels and the normal's green come out right, and <prefix>_IMPORT_NOTES.md says how to import. Affects: files.

Texture pack ​

8 parameters

ParameterDefaultTypical range / choicesDescription
texpack_enabledfalseAlso write <prefix>.pbrpack: one file (a zip of the manifest, the PNG maps and a small descriptor) that AskrGarden imports into a PBR Material node in one step. Tip: Turn it on when the texture goes to an AskrGarden tree, bush or ground: there it is just 'Import texture pack'. Affects: files.
texpack_kind"generic"generic, bark, leaf, groundWhat the set is for. It only chooses the material defaults the importer applies: bark and ground opaque and one-sided; leaf cut-out (mask, cutoff 0.5) and two-sided; generic sets nothing. Tip: Tree bark: bark. Leaves on a transparent background: leaf. Affects: files.
texpack_name""Name of the material and of the folder the pack unpacks into (letters, digits, '.', '_', '-'). Empty = the output prefix. Tip: Leave it empty unless the material should be named differently from the files. Affects: files.
texpack_alpha_mode"auto"auto, opaque, maskAlpha of the material: opaque, mask (cut-out by the albedo's alpha) or auto (what the kind says). Tip: auto is right nearly always; force mask on a leaf marked as generic. Affects: files.
texpack_alpha_cutoff0.50.0 .. 1.0Alpha below this is cut away when the alpha mode is mask (0..1). Tip: 0.5 is usual; lower it for thin leaves that vanish at a distance. Affects: files.
texpack_double_sided"auto"auto, on, offRender both faces: on, off or auto (what the kind says). Tip: Leaves and cloth: on. Bark and ground: off. Affects: files.
texpack_atlas""Leaf atlas regions: 'u0, v0, u1, v1' rectangles inside 0..1 separated by ';' (v down as in glTF, the leaf base at v1), e.g. '0,0,0.5,1; 0.5,0,1,1'. Empty = the whole texture is one leaf. Tip: Only for textures with several leaves side by side. Affects: files.
texpack_translucency0.00.0 .. 1.0How much light passes through the material (leaves), 0..1. 0 = not written. Tip: 0.3 to 0.6 gives the glow of a leaf against the sun. Affects: files.