Search Unity

Feedback Stylized Leaves Generator - work in progress

Discussion in 'Assets and Asset Store' started by MatteoMazzeriBlasph, Apr 1, 2020.

  1. MatteoMazzeriBlasph

    MatteoMazzeriBlasph

    Joined:
    Jan 4, 2019
    Posts:
    12
    -- Stylized Leaves Generator --

    LeavesGenerator.png

    Hi everyone :)
    I'm working on a new Unity package for asset store that allows you to create a stylized leaves effect for your trees.

    How does it work:
    The system basically takes any mesh as an input and for each vertex creates two twisted quads,

    LeavesGenerator3.png

    It rotates them randomly and then computes each quad's normals so that every normal is tangent to the input mesh. Then It creates a new generated mesh that you can use again.
    Your input mesh is converted to your stylized leaves with your custom material.

    LeavesGenerator2.png

    Custom parameters:

    The system allows you to set:
    - How many input mesh vertices will have a pair of quads
    - A GameObject as an output for your leaves
    - Your input GameObject
    - A Material for your leaves
    - Each quad Width and Height
    - A random value from minimum and maximum Scale factor for each quad
    - A fading probability, or rather a random value that decide if a input mesh vertex will have or not the couple of quads.
    - a random value from minimum and maximum Rotation number

    Which other features do you think I should add and which would you like to see on this package?

    Thanks
     
    Last edited: Apr 1, 2020
    alexanderameye likes this.