Leafshaper Docs
View all packages

Integration

Render pipelines

Compare URP, HDRP and the Built-in Render Pipeline, set each one up, and work around the Windows Vulkan Editor.

Leafshaper 26.12.0Unity 6000.0+URP · HDRP · Built-in

Leafshaper works in URP, HDRP and the Built-in Render Pipeline. Its shaders, Leafshaper/Tree and Leafshaper/Tree Impostor, have a part for each pipeline, so the same recipes, prefabs and materials work in all three. Switching a project to another pipeline needs no material conversion and no rebake.

FeatureURPHDRPBuilt-in
Tree and impostor shadersYesYesYes
Wind, seasons and snowYesYesYes
Adaptive Probe VolumesYesYesNo
Drawing through Kiwi FoliageYesYesYes
Depth occlusion with Kiwi FoliageYesNoYes
LOD bias comes fromQuality settingsThe HDRP assetQuality settings

URP

Assign the URP asset under Project Settings > Graphics and check per-level overrides under Quality. The URP template turns on the GPU Resident Drawer, which leaves out distant Leafshaper trees, so Leafshaper asks once whether to turn it off. See Large forests. For leaf edges, use temporal antialiasing with MSAA off on that camera, because URP skips temporal antialiasing while MSAA is on.

HDRP

Assign the HDRP asset under Project Settings > Graphics. HDRP takes the LOD bias from its pipeline asset, so trees change level at the distance set there. HDRP lights in physical units: use a sun of tens of thousands of lux with a matching exposure, as the samples do. For leaf edges, use temporal antialiasing at quality High with Anti-flickering at 1.

Built-in Render Pipeline

No setup is needed. Without temporal antialiasing, 4× MSAA softens leaf edges through alpha to coverage.

Samples

The samples pick the terrain material and lighting for the active pipeline when a scene opens, and player builds keep all three terrain materials.

How the shaders pick a pipeline

The URP and HDRP parts of the Leafshaper shaders sit in their own shader sources next to the shaders, such as LeafshaperTree.Universal.leafshapershader. Leafshaper builds each one into a shader when its pipeline is installed, and into an empty stand-in otherwise, and the tree shaders take their passes from it. So projects without URP or HDRP import without errors, and no shader part depends on a package requirement, which the Windows Editor on Vulkan can leave out. After you add or remove URP or HDRP, the shaders rebuild once the scripts compile.

Still stuck?

Bring the recipe with you.

Include the Leafshaper, Unity and render-pipeline versions, the operating system and graphics API, the first Console error, the preset and seed, and the steps that reproduce the problem.

Email supportJoin Discord

Leafshaper 26.12.0

Search documentation