Tree generation is now in! Using a combination of instanced rendering and multidrawindirect, coupled with the really cool Weighted Order Independent Transparency technique, we can now render hundres (thousands?) of trees without any sorting or worrying about intersections.
(all screenshots are available in higher resolution in the media section)
- It started off with a few instances and awfull placement. Performance wasn't nearly good enough.
- The position computation pre-pass wasn't really cooperating with us at first:
- But we got there in the end:
Now we just have to optimize culling and shading a bit until we get back up to 60FPS. All screnshots taken at 1080p with 2xMSAA.