Skip to guide
Rainbow Lab/Documentation

Vine Foundry

Leaf rendering and materials

Textured is the default. It uses bent low-polygon cards and the included generated silhouette masks. Detailed Geometry models the outline and, for Fern, the individual leaflets. Detailed geometry costs more triangles and is useful for close views.

Both modes retain growth, age, snow, wind, gradients and LOD. Switching does not generate a new route.

The supplied shaders use ambient light and the main directional light, and receive its shadows. Generated vines do not cast shadows. Additional point/spot lights are not evaluated by these shaders.

Textured mode uses a stem material and a leaf material. Detailed mode uses one foliage material. The included defaults are shared; each plant keeps its own colours and shader settings through a property block. Assign overrides on the component rather than editing a shared default material to change one vine.

Your own leaf texture

  1. Select Textured rendering and enable Use my own leaf texture.
  2. Assign an RGBA Colour / alpha texture. Its alpha defines the outline.
  3. Optionally assign a Normal texture, imported as a Normal Map.
  4. Adjust Alpha cutoff, Normal strength, Leaf tint and Leaf width.
  5. Enable Multiply by leaf gradient if the texture should receive the component gradient.

For material overrides, use Foundry/Vine Foundry/Leaves. The material's Base Map and normal map are used unless component textures override them. Component cutoff and normal-strength settings still apply. Arbitrary shaders can render a mesh but do not automatically gain Vine Foundry's wind, seasons or generated masks.