npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

com.warwlock.mtree

v1.1.1

Published

A powerful procedural tree creation tool for Unity. Now it is completely Open Source (MIT).

Readme

MTree - Open Source

MTree is a powerful tree creation tool for the Unity Engine. It allows you to create procedural trees directly within the Unity Editor, complete with wind animation, LODs, and mesh merging.

Originally a paid asset, the original developer (MaximeHerpin) has allowed this tool to be released as Open Source under the MIT License.

Features

  • Procedural Generation: Create unique trees using inspector-based workflows.
  • Mesh Export: Export your generated trees to standard Mesh format to use in your projects without needing MTree scripts at runtime (except for wind).
  • MeshLOD: Support for MeshLOD and GPU Resident Drawer.
  • Wind System: Includes MTreeWind.cs for vertex-displacement wind animations.
  • LOD Support: Automatically generates Levels of Detail with dithered corss-fade.
  • Full Source Code: Modify and extend the tool as needed.

Compatibility

  • Unity Versions: Compatible with most Unity versions including Unity 6.
  • Render Pipelines: Works with all Built-in, URP, and HDRP pipelines.
    • Note: The materials rely on Shader Graph. You must have the Shader Graph package installed.
    • The provided Shader Graphs are compatible across pipelines, but ensure your project is set up to handle Shader Graph materials.

Installation

Option 1: Install via Package Manager (Git URL)

  • Open the Package Manager and select Add package from git URL from the add menu.
  • Enter https://github.com/Warwlock/MTree.git to install this package.
  • If Unity could not find git, consider installing it here.

Option 2: Install via UPM

  • Go to Edit --> Project Settings --> Package Manager
  • Under Scoped Registries create a new one.
  • Enter this:
    • Name: Warwlock
    • URL: https://registry.npmjs.com
    • Scope(s): com.warwlock
  • Go to Window --> Package Manager and under My Registries, install MTree package.

Option 3: Manual Install

  • Download the source code as a ZIP file.
  • Extract the folder into your Unity project's Packages folder (e.g., Packages/MTree).
  • If you want to add it to Assets folder, rename Samples~ folder to Samples to include tree templates.

Include Tree Templates

  • Go to Package Manager and select MTree package.
  • Under the Samples tab, import Example Templates.

Documentation

https://github.com/Warwlock/MTree/blob/main/Documentation~/Documentation.md

Contributing

Contributions are welcome! Since this is now an open-source project, feel free to submit Pull Requests to fix bugs, clean up the Shader Graphs, or improve the overall tree generation system.

License & Origin

This project is a community-maintained version of MTree.

  • Original Creator: MaximeHerpin
  • License: MIT License
  • Source of Permission: https://discussions.unity.com/t/mtree-tree-creation/713264/875

Note: The original developer stated: "Whoever reads this and has a version of MTree has my permission to publish it with a MIT (or equivalent) license."


Big thanks to mherpin for creating this tool and giving it to the community!