Unity Procedural Flower by mattatz - 11

Procedural

Procedural flower generator for Unity.

MIT LicenseUpdated 2 years agoCreated on January 29th, 2017

unity-procedural-flower

Procedural flower generator for Unity.

Demo

Example

PFTester in Demo.scene

Petals

Height

Leaves

Garden.scene

ProceduralFlower can animate.

Garden

Usage

PFShape

ProceduralFlower needs 3 PFShape(ScriptableObject) for petal and leaf shapes.

PFShape has control points and you can design its outline by the editor.

Editor

PFCombine

PFCombine enables to combine meshes of ProceduralFlower into one mesh.


public ProceduralFlower flower;
void Start () {
    var mesh = PFCombine.Combine(flower);
    GetComponent<MeshFilter>().sharedMesh = mesh;
}

Sources

Show all projects by mattatz