Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

Feedback Shader based tool for foliage generation

Discussion in 'Works In Progress - Archive' started by iamvideep, Jan 13, 2021.

  1. iamvideep


    Oct 27, 2017
    I have recently been working on a geometry shader based tool where the artists can paint foliage (or any texture) using mouse as an input. The shader takes in the placement map as input and generates geometry at runtime. This is a tool for quickly painting vegetation and foliage on various objects. Here is how the tool works:

    Though the challenges have been to sample random points on a surface on the GPU and then place geometry based on those, it has been really a great learning experience with reference to the same and adding lighting to this.

    Coming up next:
    1) Improvisation on placement algorithm
    2) Lighting improvisation

    Looking forward to your feedback/suggestions/crits/comments. Thank you in advance.
    jamespaterson likes this.