Use the Model tab to change the model settings for imported SpeedTree assets.
To change materials settings for the SpeedTree model, see the Materials tab.
The Model tab has these sections:
(A) The Meshes, MaterialAn asset that defines how a surface should be rendered. More info
See in Glossary, Lighting, Additional Settings, and Wind sections allow you to adjust global import settings for the model.
(B) The LODThe 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. More info
See in Glossary section has a specialized variation of the LOD GroupA component to manage level of detail (LOD) for GameObjects. More info
See in Glossary component for importing SpeedTree models. You can set smooth transitions between LOD levels, adjust thresholds for each LOD level, and use the level-specific LOD options to turn off resource-heavy effects.
(C) The Revert and Apply options always appear, but you can only select them after you make changes to the import settings. If you change settings in the Remapped Materials section of the Materials tab, the Apply & Generate Materials option appears.
(D) The properties for the GameObjectThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
See in Glossary (read-only) appear at the bottom of the InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
See in Glossary view, including a preview of the SpeedTree Model.
Property | Description | |
---|---|---|
Unit Conversion | Apply a global scale to the imported SpeedTree model. The default setting is ft to m because the SpeedTree Modeler uses feet and Unity uses meters as world units. | |
Leave As Is | Don’t apply any unit conversion. Interpret the values in the model fileA file containing a 3D data, which may include definitions for meshes, bones, animation, materials and textures. More info See in Glossary as meters. |
|
ft to m | Convert from feet to meters. | |
cm to m | Convert from centimeters to meters. | |
inch to m | Convert from inches to meters. | |
Custom | Apply a user-specified scale factor to the model. | |
Scale Factor | Scale the model by a custom value. This property is visible only when Unit Conversion is set to Custom. |
Property | Description |
---|---|
Main Color | Choose a color to modulate the diffuse lighting component. |
Color Variation | Enable color variation for the model. This property uses Main Color and Variation Color (RGB) Intensity (A) along with the model’s world position to pick the final color. Color variation helps add a more natural look to clusters of SpeedTree models. |
Variation Color (RGB), Intensity (A) | Choose the color and intensity used in the Color Variation process. This property is visible only when Color Variation is enabled. |
Normal MapA type of Bump Map texture that allows you to add surface detail such as bumps, grooves, and scratches to a model which catch the light as if they are represented by real geometry. See in Glossary |
Enable Bump mapsAn 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 model. |
Subsurface Scattering | Enable subsurface scattering effects. This shaderA program that runs on the GPU. More info See in Glossary effect simulates the light scattered out the back side of leaves and other two-sided SpeedTree materials. |
Property | Description |
---|---|
Cast Shadows | Let the model cast shadows on its environment when directly lit by a light source. |
Receive Shadows | Let the model receive shadows from other GameObjects in the 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. |
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 |
Enable Light Probes rendering for the model. |
Property | Description |
---|---|
Motion Vectors | Set the Motion Vector property for the 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 Renderer of each LOD GameObject. For details about the motion vector rendering options, refer to the Mesh Renderer component. |
Generate CollidersAn invisible shape that is used to handle physical collisions for an object. A collider doesn’t need to be exactly the same shape as the object’s mesh - a rough approximation is often more efficient and indistinguishable in gameplay. More info See in Glossary |
Generate mesh collidersA free-form collider component which accepts a mesh reference to define its collision surface shape. More info See in Glossary for the model. This property is available only for .st9 files. |
The following options are available for .spm or .st files.
To adjust wind for .st9 files, refer to the Wind tab.
Property | Description | |
---|---|---|
Wind Quality | Choose the level of wind quality to use for this asset. Options with more wind effects have a higher performance cost. | |
None | No wind effects. | |
Fastest | Global sway is applied to the model. | |
Fast | Global sway and leaf ripple are applied to the model. | |
Better | Global sway, branch motion, and leaf ripple are applied to the model. | |
Best | Global sway, branch motion, leaf ripple, and leaf tumbling are applied to the model. | |
Palm | Global sway, branch motion, leaf ripple, leaf tumbling, and frond ripple are applied to the model. |
Note: This section assumes you have already read the documentation on the LOD Group component. The section on Working with SpeedTree Models explains key concepts and workflow information that are crucial for understanding how to import SpeedTree models.
The LOD Group component for the SpeedTree Importer is different from the generic LOD Group component that appears on a SpeedTree instance in Unity:
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 or right of the level container. You can also customize which properties are enabled or disabled on each level as an optimization strategy.
For each LOD level defined on your SpeedTree asset, you can customize a variety of properties. The properties correspond to other settings in the Model tab and override global import settings.
To set LOD options on a specific LOD level, select the LOD level box on the LOD Group selection bar and enable Customize LOD options.
When you enable customization for an LOD level, the SpeedTree Importer generates a new material for that LOD level.
Note: Customized LOD levels negatively affect batching and instancing and increase memory consumption. But customizations can help with some GPU bottleneck scenarios if you disable shader-heavy effects for an LOD level. Profile your scene for CPU and GPU before and after you customize to see the impact on performance.
Billboards are treated differently from other LOD meshes:
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.
When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.
More information
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising. Some 3rd party video providers do not allow video views without targeting cookies. If you are experiencing difficulty viewing a video, you will need to set your cookie preferences for targeting to yes if you wish to view videos from these providers. Unity does not control this.
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.