Vegetation Update
An update is available on the beta branch which adds the new vegetation system. You can open the attached map in the editor to see the system in action. Be sure to create a new project, or update your existing one, in order to get the new shaders and models.
To get this update early you must opt in to the beta branch on Steam.
The new vegetation system is special because it does not use persistent objects stored in memory. Rendering and physics are executed according to a distribution algorithm that dynamically generates instances each frame. This allows the system to manage an infinite number of instances, with much denser placement and faster performance than a conventional vegetation system would allow (such as what Leadwerks 2 used.)
You can select the vegetation tool in the terrain tools dropdown box. Usage is pretty self-explanatory.
Models that are to be used as vegetation layers much have a material with a vegetation shader applied. There are two new slots in shaders list in the material editor, for the vegetation and vegetation shadow shaders. These can be selected from the "Shaders\Vegetation" folder.
Models with a default physics shape and collision enabled will be collideable.
A new "Pick mode" setting has been added in the material editor. This allows you to disable picking on some materials (like leaves and grass). This allows bullets to pass through objects that should not stop them.
At this time, vegetation will only appear when texture+lighting render mode is in use.
The default models have been donated generously by Pure3D.de.
- 17
15 Comments
Recommended Comments