Skip to content

Terrain & foliage optimizations #200

@FacoBackup

Description

@FacoBackup

Foliage

  • Merge foliage and height map into one texture
  • Batches for processing foliage types
    • Per instance store an atomic counter, transformations buffer and an indirect draw buffer
    • Batches of 3 foliage types
    • Indirect draw of foliage
    • 3 lod levels for each foliage type

Terrain: Materials & Foliage

  • Custom material pipeline for terrain
    • Each material can have multiple foliage types
    • Max number of materials
    • Foliage culling samples material channels to find the matching foliage type
  • Foliage 100% procedural
    • No foliage painting
    • Material dependent
    • Hash translation for rotation and scale offset

Metadata

Metadata

Assignees

Labels

Projects

Status

Active progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions