Node reference
INFO
This page is generated from the node registry by scripts/docs_nodes.py. The editor shows the same labels and help in the Properties panel (the info button beside each field) and in the tooltip of each node in the Nodes panel. From the command line: askrgarden-cli nodes -v or askrgarden-cli nodes --json.
Each node below lists its ports (what it receives and what it gives) and its parameters. The parameter name in bold is what the editor shows; the key in code is what the .treegen.json file stores.
Value types on links
A link carries one type of value. The editor colours each port by its type and refuses a link between different types.
| Type | Port colour | What it carries |
|---|---|---|
skeleton | #c9915a | All stems so far: lines with a radius per point, the parent stem, the level and where each stem starts on its parent. |
foliage | #6fbf4a | Leaf placements: position, orientation, size, atlas variant and parent stem. |
volume | #8f7fd6 | A closed shape (ellipsoid, cone, cylinder, box, profile) that a crown grows into or is pruned to. |
mesh | #4fa3d9 | Triangles with normals, tangents, UVs, wind data and one material. |
material | #d9c24f | A PBR material: texture slots, factors, alpha mode and UV rules. |
Generators
Trunk
trunk · Category: Generators
Grows the stems that come out of the ground (one trunk or several).
Ports
| Port | Direction | Type | What it does |
|---|---|---|---|
skeleton | output | skeleton | The trunk stems. |
Parameters
| Parameter | Kind | Default | Range / options | Group | What it does |
|---|---|---|---|---|---|
Stems count | int | 1 | 1 … 12 | Main | How many stems grow from the ground. |
Height length | float (takes ± variance or a curve) | 8 | 0.1 … 80 | Main | Length of each trunk stem in meters. |
Base radius base_radius | float (takes ± variance or a curve) | 0.25 | 0.005 … 4 | Main | Radius at the ground, in meters. |
Tip radius tip_radius_ratio | float | 0.15 | 0 … 1 | Main | Radius at the top as a fraction of the base radius. |
Segments segments | int | 16 | 2 … 200 | Main | Points along the stem; more follow curves better. |
Lean lean_angle | float (takes ± variance or a curve) | 0 | 0 … 80 | Main | Lean from vertical, in degrees. |
Lean direction lean_direction | float | 0 | -360 … 360 | Main | Compass direction of the lean, in degrees. |
Wobble wobble | float | 0.08 | 0 … 1 | Main | How much the stem wanders sideways. |
Wobble frequency wobble_frequency | float | 0.25 | 0 … 5 | Main | Wobble waves per meter. |
Root flare flare | float | 0.6 | 0 … 4 | Main | Extra radius at the very base (0.6 = 60% wider). |
Flare height flare_height | float | 0.6 | 0.01 … 10 | Main | Height in meters over which the flare fades out. |
Spread spread | float | 0.3 | 0 … 10 | Several stems | With several stems: distance of each base from the centre, meters. |
Spread angle spread_angle | float | 12 | 0 … 80 | Several stems | With several stems: extra outward lean, degrees. |
Re-roll seed_offset | int | 0 | 0 … 1000000 | Advanced | Changes this node's random stream only; every other node keeps its result. |
Branches
branches · Category: Generators
Grows child stems on the selected stems: placement, angle, length and radius may vary along the parent.
Ports
| Port | Direction | Type | What it does |
|---|---|---|---|
parent | input | skeleton | Stems to grow on. |
skeleton | output | skeleton | Input plus the new stems. |
Parameters
| Parameter | Kind | Default | Range / options | Group | What it does |
|---|---|---|---|---|---|
Grow on select | enum | "newest_level" | newest_level, all, not_trunk, level_0, level_1, level_2, level_3, level_4 | Main | Which stems receive children (default: the newest level). |
Placement placement | enum | "spiral" | spiral, alternate, opposite, whorled, random | Main | spiral = golden angle; alternate; opposite pairs; whorled rings; random. |
Count count | float (takes ± variance or a curve) | 12 | 0 … 500 | Main | Children per parent stem (used when density is 0). |
Density density | float | 0 | 0 … 200 | Main | Children per meter of parent; overrides count when above 0. |
Per whorl per_whorl | int | 3 | 2 … 12 | Main | Children per ring when placement is whorled. |
Start range_start | float | 0.3 | 0 … 1 | Main | Where children start on the parent (0 base, 1 tip). |
End range_end | float | 0.95 | 0 … 1 | Main | Where children end on the parent. |
Position jitter position_jitter | float | 0.3 | 0 … 1 | Main | Random shift of each child along the parent. |
Angle angle | float (takes ± variance or a curve) | 50 | 0 … 180 | Main | Angle between child and parent, degrees. |
Roll jitter roll_jitter | float | 15 | 0 … 180 | Main | Random turn around the parent, degrees. |
Length length | float (takes ± variance or a curve) | 0 | 0 … 60 | Main | Absolute part of the child length, meters. |
Length of parent length_of_parent | float (takes ± variance or a curve) | 0.4 | 0 … 3 | Main | Part of the child length as a fraction of the parent length. |
Shorter near tip limit_to_parent_rest | bool | true | — | Main | Limit children near the parent tip to the parent length left above them. |
Radius ratio radius_ratio | float | 0.55 | 0.01 … 1 | Main | Child base radius as a fraction of the parent radius where it starts. |
Tip radius tip_radius_ratio | float | 0.15 | 0 … 1 | Main | Child tip radius as a fraction of its base radius. |
Bend up up_bend | float (takes ± variance or a curve) | 15 | -180 … 180 | Main | Total bend toward the sky along the child, degrees. |
Gravity gravity | float (takes ± variance or a curve) | 10 | 0 … 180 | Main | Total bend toward the ground along the child, degrees. |
Wobble wobble | float | 0.12 | 0 … 1 | Main | How much children wander sideways. |
Wobble frequency wobble_frequency | float | 0.8 | 0 … 10 | Main | Wobble waves per meter. |
Segments segments | int | 8 | 1 … 100 | Main | Points along each child. |
Min radius min_radius | float | 0 | 0 … 1 | Main | Children thinner than this at their base are not grown. |
Fork tips split_tip | float | 0 | 0 … 1 | Main | Chance that a child forks into two short stems at its tip. |
Re-roll seed_offset | int | 0 | 0 … 1000000 | Advanced | Changes this node's random stream only; every other node keeps its result. |
Space colonization
space_colonization · Category: Generators
Grows branches toward points scattered in a volume, competing for space (Runions et al. 2007).
Ports
| Port | Direction | Type | What it does |
|---|---|---|---|
skeleton | input | skeleton | Stems to start from. |
volume | input | volume | Where the crown may grow. |
skeleton | output | skeleton | Input plus the grown branches. |
Parameters
| Parameter | Kind | Default | Range / options | Group | What it does |
|---|---|---|---|---|---|
Attractors attractors | int | 800 | 10 … 20000 | Main | Points scattered in the volume; more gives denser crowns. |
Step step | float | 0.3 | 0.02 … 5 | Main | Length of each new segment (D), meters. |
Influence radius influence_radius | float | 6 | 1 … 50 | Main | How far an attractor pulls, in multiples of the step. |
Kill radius kill_radius | float | 1.5 | 0.5 … 20 | Main | An attractor this close to a branch is used up, in multiples of the step. |
Bias direction bias | vec3 | [0.0, 1.0, 0.0] | — | Main | Direction added to every growth step. |
Bias strength bias_strength | float | 0.2 | 0 … 5 | Main | Weight of the bias direction. |
Max iterations max_iterations | int | 200 | 1 … 5000 | Main | Upper limit of growth steps. |
Start from start_from | enum | "newest_level" | newest_level, all, not_trunk, level_0, level_1, level_2, level_3, level_4 | Main | Stems whose points may sprout branches. |
Start at start_at | float | 0.5 | 0 … 1 | Main | Only points above this fraction of each start stem may sprout. |
Pipe exponent grow_radius_by | float | 2.3 | 1.5 … 3.5 | Main | Pipe model exponent: parent radius^e = sum of child radius^e (2 to 3). |
Tip radius tip_radius | float | 0.008 | 0.0005 … 0.2 | Main | Radius of the finest twigs, meters. |
Re-roll seed_offset | int | 0 | 0 … 1000000 | Advanced | Changes this node's random stream only; every other node keeps its result. |
Volume
volume_shape · Category: Generators
A closed shape used by space colonization (where branches may grow) and by prune.
Ports
| Port | Direction | Type | What it does |
|---|---|---|---|
volume | output | volume | The shape. |
Parameters
| Parameter | Kind | Default | Range / options | Group | What it does |
|---|---|---|---|---|---|
Shape shape | enum | "ellipsoid" | ellipsoid, cone, cylinder, box, profile | Main | ellipsoid, cone, cylinder, box, or profile (radius by height). |
Size size | vec3 | [3.0, 3.0, 3.0] | — | Main | Radii (ellipsoid), half sizes (box), or radius, height, radius (cone, cylinder, profile). |
Centre center | vec3 | [0.0, 7.0, 0.0] | — | Main | Centre (ellipsoid, box) or base centre (cone, cylinder, profile), meters. |
Profile profile | list | [[0, 0.3], [0.4, 1.0], [1, 0.1]] | — | Main | For shape profile: [height 0-1, radius 0-1] points. |
Re-roll seed_offset | int | 0 | 0 … 1000000 | Advanced | Changes this node's random stream only; every other node keeps its result. |
Modifiers
Bend
bend · Category: Modifiers
Bends the selected stems toward a direction, more toward their tips.
Ports
| Port | Direction | Type | What it does |
|---|---|---|---|
skeleton | input | skeleton | Stems to bend. |
skeleton | output | skeleton | Bent stems. |
Parameters
| Parameter | Kind | Default | Range / options | Group | What it does |
|---|---|---|---|---|---|
Toward direction | enum | "gravity" | gravity, up, sun, custom | Main | gravity (down), up, sun (up and slightly sideways) or a custom vector. |
Custom direction custom_direction | vec3 | [1.0, 0.0, 0.0] | — | Main | Used when Toward is custom. |
Strength strength | float (takes ± variance or a curve) | 20 | -180 … 180 | Main | Bend angle at the tip, degrees; a curve along the stem shapes it. |
Stems select | enum | "newest_level" | newest_level, all, not_trunk, level_0, level_1, level_2, level_3, level_4 | Main | Which stems bend. |
Re-roll seed_offset | int | 0 | 0 … 1000000 | Advanced | Changes this node's random stream only; every other node keeps its result. |
Prune
prune · Category: Modifiers
Removes stems (and everything growing on them) by level, thinness, chance or a volume.
Ports
| Port | Direction | Type | What it does |
|---|---|---|---|
skeleton | input | skeleton | Stems to prune. |
keep_inside | input (optional) | volume | Optional: stems mostly outside it are removed. |
skeleton | output | skeleton | What is left. |
Parameters
| Parameter | Kind | Default | Range / options | Group | What it does |
|---|---|---|---|---|---|
Stems select | enum | "all" | newest_level, all, not_trunk, level_0, level_1, level_2, level_3, level_4 | Main | Which stems may be removed. |
Min radius min_radius | float | 0 | 0 … 1 | Main | Remove stems thinner than this at the base, meters. |
Max level max_level | int | 10 | 0 … 10 | Main | Remove stems deeper than this level (0 = trunk). |
Knock out knockout | float | 0 | 0 … 1 | Main | Fraction of stems removed at random. |
Inside fraction inside_fraction | float | 0.5 | 0 … 1 | Main | With a volume: keep a stem when at least this fraction of its points is inside. |
Re-roll seed_offset | int | 0 | 0 … 1000000 | Advanced | Changes this node's random stream only; every other node keeps its result. |
Radius rule
radius_rule · Category: Modifiers
Rebuilds every radius from the tips down with the pipe model, so parents are as thick as their children need.
Ports
| Port | Direction | Type | What it does |
|---|---|---|---|
skeleton | input | skeleton | Stems. |
skeleton | output | skeleton | Stems with new radii. |
Parameters
| Parameter | Kind | Default | Range / options | Group | What it does |
|---|---|---|---|---|---|
Exponent exponent | float | 2.3 | 1.5 … 3.5 | Main | 2 = da Vinci's rule; 2-3 in practice. Higher makes parents thinner. |
Min tip radius min_tip_radius | float | 0.004 | 0.0005 … 0.2 | Main | Smallest radius at any tip, meters. |
Taper taper | float (takes ± variance or a curve) | 1 | 0.05 … 4 | Main | Multiplier along each stem (use a curve over along_stem). |
Root flare flare | float | 0 | 0 … 4 | Main | Extra radius at the base of trunk stems. |
Flare height flare_height | float | 0.6 | 0.01 … 10 | Main | Height over which the flare fades, meters. |
Scale scale | float | 1 | 0.05 … 10 | Main | Multiplies every radius at the end. |
Re-roll seed_offset | int | 0 | 0 … 1000000 | Advanced | Changes this node's random stream only; every other node keeps its result. |
Wobble
wobble · Category: Modifiers
Adds smooth random waves along the selected stems.
Ports
| Port | Direction | Type | What it does |
|---|---|---|---|
skeleton | input | skeleton | Stems. |
skeleton | output | skeleton | Wobbled stems. |
Parameters
| Parameter | Kind | Default | Range / options | Group | What it does |
|---|---|---|---|---|---|
Amount amount | float | 0.03 | 0 … 0.5 | Main | Sideways offset as a fraction of stem length. |
Frequency frequency | float | 0.5 | 0 … 10 | Main | Waves per meter. |
Stems select | enum | "all" | newest_level, all, not_trunk, level_0, level_1, level_2, level_3, level_4 | Main | Which stems wobble. |
Re-roll seed_offset | int | 0 | 0 … 1000000 | Advanced | Changes this node's random stream only; every other node keeps its result. |
Foliage
Leaves
leaves · Category: Foliage
Places leaf cards on the selected stems.
Ports
| Port | Direction | Type | What it does |
|---|---|---|---|
skeleton | input | skeleton | Stems that carry leaves. |
foliage | output | foliage | Leaf placements. |
Parameters
| Parameter | Kind | Default | Range / options | Group | What it does |
|---|---|---|---|---|---|
Grow on select | enum | "newest_level" | newest_level, all, not_trunk, level_0, level_1, level_2, level_3, level_4 | Main | Which stems carry leaves. |
Placement placement | enum | "random" | spiral, alternate, opposite, whorled, random | Main | How leaves are spread along a stem; random uses a low-discrepancy sequence. |
Count count | float (takes ± variance or a curve) | 10 | 0 … 500 | Main | Leaves per stem (used when density is 0). |
Density density | float | 0 | 0 … 500 | Main | Leaves per meter of stem; overrides count when above 0. |
Start range_start | float | 0.2 | 0 … 1 | Main | Where leaves start on the stem. |
End range_end | float | 1 | 0 … 1 | Main | Where leaves end on the stem. |
Size size | float (takes ± variance or a curve) | {"value": 0.35, "variance": 0.08} | 0.005 … 10 | Main | Card height, meters. |
Angle angle | float (takes ± variance or a curve) | 55 | 0 … 180 | Main | Angle between leaf and stem, degrees. |
Facing orientation | enum | "face_up" | follow_stem, face_up, face_out | Main | follow_stem keeps the stem in the card plane; face_up turns cards to the sky; face_out away from the stem. |
Tilt jitter tilt | float | 25 | 0 … 90 | Main | Random turn of each card around its own axis, degrees. |
Atlas variants atlas_variants | list | [1.0] | — | Main | Weight of each atlas region (one number per region of the leaf material). |
Tip cluster tip_cluster | int | 2 | 0 … 30 | Main | Extra leaves at the tip of each stem. |
Re-roll seed_offset | int | 0 | 0 … 1000000 | Advanced | Changes this node's random stream only; every other node keeps its result. |
Meshers
Bark mesher
bark_mesher · Category: Meshers
Turns stems into bark tubes with tiling UVs (whole tiles around, true length along).
Ports
| Port | Direction | Type | What it does |
|---|---|---|---|
skeleton | input | skeleton | Stems to mesh. |
material | input (optional) | material | Bark material. |
mesh | output | mesh | Bark mesh. |
Parameters
| Parameter | Kind | Default | Range / options | Group | What it does |
|---|---|---|---|---|---|
Mesh name mesh_name | string | "bark" | — | Main | Name of the mesh in exported files. |
Sides (thin) radial_segments_min | int | 4 | 3 … 64 | Main | Sides around the thinnest stems. |
Sides (thick) radial_segments_max | int | 12 | 3 … 64 | Main | Sides around the trunk. |
Rings per meter length_resolution | float | 3 | 0.2 … 50 | Main | Rings along each stem per meter (original points are always kept). |
Tiles around uv_tiles_around | int | 0 | 0 … 32 | Main | Texture tiles around each stem; 0 = automatic from the radius and the material tile size. |
UV jitter uv_offset_jitter | float | 1 | 0 … 1 | Main | Random UV offset per stem to hide repeats. |
Close tips caps | bool | true | — | Main | Close the tip of each tube. |
LOD stem drop lod_stem_power | float | 1 | 0.2 … 4 | LODs | Lower LODs keep detail^power of the stems, thickest first. |
Re-roll seed_offset | int | 0 | 0 … 1000000 | Advanced | Changes this node's random stream only; every other node keeps its result. |
Leaf mesher
leaf_mesher · Category: Meshers
Turns leaf placements into cards (quads, crossed quads or your own card mesh).
Ports
| Port | Direction | Type | What it does |
|---|---|---|---|
foliage | input | foliage | Leaf placements. |
material | input (optional) | material | Leaf material. |
custom_card | input (optional) | mesh | Optional card mesh: x across, y up from the base, z normal; height 1. |
mesh | output | mesh | Leaf mesh. |
Parameters
| Parameter | Kind | Default | Range / options | Group | What it does |
|---|---|---|---|---|---|
Mesh name mesh_name | string | "leaves" | — | Main | Name of the mesh in exported files. |
Card card | enum | "quad" | quad, cross, custom | Main | quad = one plane; cross = two crossed planes; custom = the connected mesh. |
Pivot pivot | enum | "base" | base, center | Main | Where the card attaches: its base or its centre. |
Normals normals | enum | "crown" | flat, crown | Main | flat = card normal; crown = blended toward the crown's outside for soft shading. |
Crown blend crown_amount | float | 0.6 | 0 … 1 | Main | How much crown normals replace card normals. |
Columns subdiv_x | int | 1 | 1 … 8 | Main | Quads across each card (quad and cross cards; custom meshes are left as they are). Raised to 2 when fold is set and to 4 when cup is set. |
Rows subdiv_y | int | 1 | 1 … 8 | Main | Quads along each card's length. Raised to at least 3 when curl, twist or shape variation is set. |
Fold fold | float | 0 | -1 … 1 | Main | V-fold along the midrib: the sides lift toward the card normal (about 60 degrees per side at 1; negative folds the other way). Needs 2 columns; a single column is raised to 2. |
Curl curl | float | 0 | -1 … 1 | Main | Bends the card along its length as an arc, tip toward the normal (up to 90 degrees at 1). Rows are raised to at least 3. |
Cup cup | float | 0 | -1 … 1 | Main | Bends the card across its width as a smooth arc (a rounder fold, up to 120 degrees in total). Columns are raised to at least 4. |
Twist twist | float | 0 | -1 … 1 | Main | Twists the card around its midrib from base to tip (up to 90 degrees at the tip). Rows are raised to at least 3. |
Shape variation shape_jitter | float | 0 | 0 … 1 | Main | Random per-leaf variation of fold, curl, cup and twist (seeded, so builds are repeatable). Lower LODs use fewer subdivisions and clusters stay flat. |
Clusters below cluster_below | float | 0.15 | 0 … 1 | LODs | LODs with detail below this merge leaves into few large cards. |
Re-roll seed_offset | int | 0 | 0 … 1000000 | Advanced | Changes this node's random stream only; every other node keeps its result. |
Mesh input
mesh_input · Category: Meshers
Reads a GLB, glTF, OBJ or FBX mesh: a custom leaf card, a fruit, or a reference.
Ports
| Port | Direction | Type | What it does |
|---|---|---|---|
material | input (optional) | material | Material to use. |
mesh | output | mesh | The mesh (all parts joined). |
Parameters
| Parameter | Kind | Default | Range / options | Group | What it does |
|---|---|---|---|---|---|
File path | path | — | — | Main | Mesh file relative to the project. |
Scale scale | float | 1 | 0.0001 … 1000 | Main | Multiplies positions. |
Mesh name mesh_name | string | "" | — | Main | Name in exported files (empty = file name). |
Re-roll seed_offset | int | 0 | 0 … 1000000 | Advanced | Changes this node's random stream only; every other node keeps its result. |
Materials
PBR material
pbr_material · Category: Materials
Textures and factors of one material (bark or leaves). Can be filled from a PBRGenerator manifest.
Ports
| Port | Direction | Type | What it does |
|---|---|---|---|
material | output | material | The material. |
Parameters
| Parameter | Kind | Default | Range / options | Group | What it does |
|---|---|---|---|---|---|
Name name | string | "" | — | Main | Material name in the exported files (empty = node id). |
PBRGenerator manifest pbrgen_manifest | path | — | — | Main | A <prefix>_manifest.json from PBRGenerator; fills every slot with its colour space and normal convention. |
base color base_color | texture | — | — | Textures | Albedo (sRGB); its alpha cuts leaves out. |
opacity opacity | texture | — | — | Textures | Coverage when the alpha is not in the base colour (white = solid). |
normal normal | texture | — | — | Textures | Tangent-space normal map; set its convention (opengl or directx). |
roughness roughness | texture | — | — | Textures | Roughness, 1 = rough (a smoothness map with invert: true). |
metallic metallic | texture | — | — | Textures | Metallic, almost always empty for trees. |
occlusion occlusion | texture | — | — | Textures | Ambient occlusion, white = open. |
height height | texture | — | — | Textures | Height, white = high (16-bit kept). |
translucency translucency | texture | — | — | Textures | Light through the leaf (colour x amount). |
tint mask tint_mask | texture | — | — | Textures | Where per-instance tint applies (white = full). |
emissive emissive | texture | — | — | Textures | Emitted light (sRGB), rarely used. |
Colour base_color_factor | list | [1.0, 1.0, 1.0, 1.0] | — | Main | RGBA multiplier (linear); the colour when there is no texture. |
Roughness roughness_factor | float | 1 | 0 … 1 | Main | Roughness multiplier. |
Metallic metallic_factor | float | 0 | 0 … 1 | Main | Metallic multiplier. |
Normal strength normal_scale | float | 1 | 0 … 4 | Main | Strength of the normal map. |
Occlusion strength occlusion_strength | float | 1 | 0 … 1 | Main | How much the occlusion map darkens. |
Alpha alpha_mode | enum | "opaque" | opaque, mask | Main | opaque for bark; mask cuts leaves out at the cutoff. |
Alpha cutoff alpha_cutoff | float | 0.5 | 0 … 1 | Main | Alpha below this is cut away. |
Two-sided double_sided | bool | false | — | Main | Render both faces (leaves). |
Tile size tile_size_m | float | 1 | 0.01 … 100 | Main | World size of one texture tile in meters (bark: sets UV density). |
Tile size from manifest tile_size_from_manifest | bool | true | — | Main | Use the manifest's physical tile size when it has one. |
Atlas regions atlas | list | [[0.0, 0.0, 1.0, 1.0]] | — | Main | Leaf regions [u0, v0, u1, v1] in the texture (v down, glTF); the leaf base is at v1. |
Translucency translucency_factor | float | 0 | 0 … 1 | Main | How much light passes through (leaves). |
Re-roll seed_offset | int | 0 | 0 … 1000000 | Advanced | Changes this node's random stream only; every other node keeps its result. |
Output
Tree output
tree_output · Category: Output
What gets built and exported: the meshes, the LOD chain, wind data and the impostor.
Only one per graph.
Ports
| Port | Direction | Type | What it does |
|---|---|---|---|
meshes | input (takes many links) | mesh | Meshes of the tree. |
Parameters
| Parameter | Kind | Default | Range / options | Group | What it does |
|---|---|---|---|---|---|
Name name | string | "tree" | — | Main | Base name of exported files and meshes. |
Species tag species | string | "" | — | Main | Free tag written into the export metadata (for scatter tools). |
LODs lods | list | [1.0, 0.5, 0.2] | — | LODs | Detail fraction of each LOD, from 1.0 (everything) down. |
Switch sizes lod_screen_sizes | list | [] | — | LODs | Screen height fraction where each LOD ends (empty = suggested). |
Wind data wind_data | bool | true | — | Engine | Write wind data in vertex colour and UV2/UV3 (layout treegen_wind_v1). |
Merge by material merge_by_material | bool | true | — | Engine | One mesh part per material in each LOD. |
Shadow proxies shadow_proxy | bool | false | — | Engine | Also write a cheaper shadow-casting mesh per LOD. |
Collision capsules collision | bool | true | — | Engine | Write trunk and bough capsules into the export metadata. |
Impostor impostor | object | {"enabled": false, "grid": 8, "layout": "hemi", "frame_px… | — | Impostor | Octahedral impostor: the tree photographed from many directions into one atlas, drawn far away as a single card that picks and blends the nearest views. It replaces thousands of triangles with a few. Each field below has its own explanation. |
Re-roll seed_offset | int | 0 | 0 … 1000000 | Advanced | Changes this node's random stream only; every other node keeps its result. |
Fields of Impostor (impostor)
| Parameter | Kind | Default | Range / options | What it does |
|---|---|---|---|---|
Export the impostor enabled | bool | false | — | Adds the impostor as the last LOD of every export (atlases, and the card in GLB/glTF). The preview can bake and show it even with this off. |
Views per side grid | enum | 8 | 6, 8, 12 | The tree is photographed from grid x grid directions: 8 = 64 views. More views = smoother change as the camera moves, but each view gets a smaller share of the atlas (or the atlas grows). |
Directions covered layout | enum | "hemi" | hemi, full | hemi: only from the horizon up, right for anything standing on the ground (all views are useful). full: the whole sphere, also from below, for objects seen from any side (half the views point up). |
Pixels per view frame_px | enum | 256 | 128, 256, 384, 512, 1024 | Side of each view in the atlas. The atlas is grid x this: 8 x 256 = 2048 px. 512 is much sharper up close but takes about four times longer to bake and four times the memory. |
Normal + depth size normal_scale | enum | 0.5 | 0.25, 0.5, 1 | Size of the normal and depth atlas relative to the colour atlas: 0.5 = half the side (a quarter of the memory). Lighting and parallax come from it; 1 is sharper. |
Card strips strips | enum | 8 | 1, 2, 4, 8 | The card is cut into this many horizontal strips, each as wide as the tree at that height, so the engine draws fewer empty pixels. 8 strips = 16 triangles; 1 = a plain square of 2 triangles. |
LOD photographed source_lod | int | 0 | 0 … 8 | Which LOD of the tree is rendered into the views. 0 = the most detailed. |
Mask atlas extra_maps | bool | false | — | Also writes a mask atlas (R ambient occlusion, G roughness, B translucency) for engine shaders that use it. |