Search Unity

Feedback Shader based tool for foliage generation

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

  1. iamvideep

    iamvideep

    Joined:
    Oct 27, 2017
    Posts:
    118
    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.