Skip to content

mattatz/unity-procedural-flower

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Procedural flower generator for Unity.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published