The Model tab of the SpeedTree Import Settings window contains these sections:
The Meshes section allows you to set the Scale Factor value to apply a global scale on the imported SpeedTree Model. By default, Unity sets this value to 0.3048 (the conversion ratio for feet to meters) because SpeedTree Models generally use 1 foot per unit, and Unity uses 1 meter per unit.
The Materials section allows you to set the Main Color value, which modulates the diffuse lighting component, and the Hue Color, which Unity uses when the Hue Variation effect is enabled. If your SpeedTree Model contains Billboard Assets, the Alpha Cutoff property also appears. Unity uses the alpha cutoff (or reference value) to compute the values it needs to preserve alpha MIP map coverage on Textures.
The LODs section contains a specialized variation of the LOD Group component for importing SpeedTree Models. You can set smooth transitions between LOD levels, adjust thresholds for each LOD level, and use the LOD Options to turn off resource-heavy effects on each LOD level.
The Revert and Apply buttons always appear, but you can only select them after you make changes to the settings on the Model tab. If you change settings on both the Material mapping and the Model tab, the Apply & Generate Materials button appears. If you only change settings on the Material mapping, the Regenerate Materials button appears.
The properties for the GameObject (read-only) appear at the bottom of the Inspector view, including a preview of the SpeedTree Model with its Material applied.
Note: This section assumes you have already read the documentation on the LOD GroupA component to manage level of detail (LOD) for GameObjects. More info
See in Glossary component. Please read it if you haven’t already; especially the section on Working with SpeedTree Models. It explains key concepts and workflow information that are crucial for understanding how to import SpeedTree Models.
The LODsA system for building multiplayer capabilities for Unity games. It is built on top of the lower level transport real-time communication layer, and handles many of the common tasks that are required for multiplayer games. More info
See in Glossary and LOD Options sections manage level of detailsThe Level Of Detail (LOD) technique is an optimization that reduces the number of triangles that Unity has to render for a GameObject when its distance from the Camera increases. Each LOD level has either a Mesh with a Mesh Renderer component (Mesh LOD level) or a Billboard Asset with a Billboard Renderer component (Billboard LOD level). Typically a single GameObject has three or four Mesh LOD levels and one optional Billboard LOD level to represent the same GameObject with decreasing detail in the geometry. More info
See in Glossary (LOD) for importing Model filesA file containing a 3D data, which may include definitions for meshes, bones, animation, materials and textures. More info
See in Glossary created in SpeedTree. When the importer detects a SpeedTree Asset, it automatically sets the LOD Fade Mode to Speed Tree.
The LOD Group component for the SpeedTree Model Importer is different from the generic LOD Group component that appears on a SpeedTree instance in Unity:
The LODs group, the LOD Group selection bar, and the LOD Options group are tightly integrated and inter-dependent:
To set smooth transitions between LOD levels, enable the Smooth LOD option. When you enable Smooth LOD, another setting appears underneath it, called Animate Cross-fading. For more information about this property, see Customizing the transition zone. This is enabled by default.
If you disable Animate Cross-fading, two more settings appear: Crossfade Width and Fade Out Width. For more information on what these settings do, see Setting smooth transitions.
These are global settings for the entire GameObject, meaning they don’t change as you move between different LOD levels.
Use the LOD Group selection bar to select a specific LOD level and access its LOD Options. You can also adjust the LOD level boundaries; to do this, drag the left border of a LOD level box’s boundary.
Use the LOD Options section to enable or disable level-specific effects to optimize performance.
Smooth transitions require a blend between levels, so that as the current LOD fades out, the next LOD fades in.
You don’t need to set up blending between two MeshThe main graphics primitive of Unity. Meshes make up a large part of your 3D worlds. Unity supports triangulated or Quadrangulated polygon meshes. Nurbs, Nurms, Subdiv surfaces must be converted to polygons. More info
See in Glossary LOD levels, because SpeedTree Models always use the Speed Tree mode. However, even SpeedTree Models use cross-fading for the last Mesh LOD level (with the lowest resolution) and the Billboard level. For these levels, you can choose to animate cross-fading by time or position.
To use smooth transitions, follow these instructions:
The LOD Group selection bar represents the different LOD levels as colored boxes. When a level box is selected, a blue outline appears around it:
The percentage that appears in each LOD level box represents the threshold at which that level becomes active, based on the ratio of the GameObject’s screen space height to the total screen height.
To select a level, click on the level box. To change the percentage value for a level, drag the boundary to the left of the level container. You can also customize which LOD Options are enabled or disabled on each level, as an optimization strategy.
For each LOD level defined on your SpeedTree Asset (tree), you can customize a variety of properties.
Many of these settings come with an increased performance overhead. To improve performance, you can enable the more costly effects only on the Trees that are nearest to the CameraA component which creates an image of a particular viewpoint in your scene. The output is either drawn to the screen or captured as a texture. More info
See in Glossary, and disable them on some of the less detailed LOD levels. For example, if your Tree has three LOD levels, you could enable shadow casting and receiving, subsurface scattering, normal mapping, and wind quality on the first two LOD levels, but disable it on the third. This way, the costly effects are disabled where the Models are far enough away from the Camera that the absence of this effect is not noticeable.
To set LOD Options on a specific LOD level, click the LOD level box on the LOD Group selection bar. The following options appear for that LOD level:
|Cast Shadows||Enable this option if you want the Tree to cast shadows.|
|Receive Shadows||Enable this option if you want the Tree to receive shadows from other GameObjects in your SceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary.
|Use Light Probes||Enable this option if you want the Tree to use Light ProbesLight probes store information about how light passes through space in your scene. A collection of light probes arranged within a given space can improve lighting on moving objects and static LOD scenery within that space. More info
See in Glossary renderingThe process of drawing graphics to the screen (or to a render texture). By default, the main camera in Unity renders its view to the screen. More info
See in Glossary.
|Normal Map||Enable this option if you want to use a Bump mapAn image texture used to represent geometric detail across the surface of a mesh, for example bumps and grooves. Can be represented as a heightmap or a normal map. More info
See in Glossary on the Tree.
|Enable Hue Variation||Enable this option to adjust the color between the Main Color and Hue Color values.
The color of each Tree is randomly varied (based on the world space position) towards this Hue Variation color, to break up a large forest of Trees and make it look more natural.
|Enable Subsurface||Enable this option to use subsurface scattering effects. This setting controls the light scattered out the back side of leaves and other two-sided SpeedTree materials.|
|Wind Quality||Choose the level of wind quality to use for this Asset.|
Off (no control).
Only available on palm-like Trees.