Log inGet started
Package

sunfall.package

Newest version

This package holds more than this page lists. See all of its files in its world.

README.md

canopy (shader)

The far level of Sunfall Ridge's conifers: every tree past a few hundred metres is a stack of jagged needle tiers and a trunk, a few dozen triangles built by sunfall.dressing.conifers, drawn instanced by sunfall.dressing.Forest. This shader colours them from the mesh's vertex colour (the species' needle green, darker under each tier, the trunk brown; alpha 1 on foliage, 0 on wood), breaks the tier faces into needle clumps with a world-space noise (clumps), and lights the crown's rim warm when the low sun stands behind the tree (translucency, translucency_color), so the far forest holds the tone and silhouette of the near needle cards.

Properties: base_color, roughness, translucency, translucency_color, clumps, vertexBoundsDilation.