Dragon Foliage URP


Overview

Dragon Foliage is my brand new foliage system for Unity.

It is inspired by many techniques from my personal observations in multiple AAA games.

With it you can create highly performant, dense and interactive grass in your scene.

Allows easy runtime changes.

Supports both, PC & Mobile.


See also:


Features:

  • Plant Variety
    • Multiple layers on single foliage surface
    • Up to 255 different plants on single layer in single pass
    • Virtual (mixed) plants for more variety
    • Variable density at any given area
    • Each plant highly configurable
    • Reuse meshes and textures
  • High Performance
    • Procedural placement
    • Indirect rendering
    • GPU culling
    • Level of detail
    • Adaptive density
  • Interactions With Environment
    • Global wind
    • Local wind areas
    • Primitive interactors (for moving objects)
    • Per-plant simulation parameters
  • Runtime Modifications
    • Add and remove plants runtime
    • C# Job System
    • Burst Compiler
    • Serialization support for save/load
  • Multiplatform - mobile support !
    • Mobile support through Vulkan API
    • Does NOT support OpenGLES2, OpenGLES3 and WebGL
  • Designed For URP
    • All paths supported: Forward, Forward+ and Deferred
    • Cross-Fade
    • PBR rendering
    • Subsurface scattering
  • Scene Editor Tool
    • Easy integration
    • Custom brush
    • Paint with variable density
    • Works with any kind of 3D environment, not only terrain !
  • Scripting API
  • Separate Assembly Definition
  • Runtime changes support
  • Full source code included
  • Samples Included (demos NOT included)
    • Generic mesh library
    • Grass
    • Wheat
    • Maize
    • Stubble
    • Straw

NOTE: Asset samples contains 3rd party textures - check 3rd Party Notice.txt file in main asset directory for details.