Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

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.