Giter VIP home page Giter VIP logo

massivegrass's Introduction

MassiveGrass

Terrain の地形に沿って大量の草を生やします。

Unity2019.3 以降に対応

インストール

PackageManageer に Github の リポジトリ uri を指定してください。

セットアップ

  • 任意の GameObject に MassiveGrass コンポーネントを追加します

プロファイルの作成

  • 右クリックメニューから MassiveGrass を選択して MassiveGrassProfile を作成しパラメータを調整します
  • TerrainLayers : 草をはやしたい TerrainLayers を指定します。 Terrain Layer で塗られた場所に草を生やします。
  • Scale : 草一つ分の Quad メッシュのサイズ
  • Radius : 視点からの最大生成距離
  • Grid Size : Terrain をグリッドに分割する際の 1 グリッド四方あたりの辺の長さ
  • Slant : 草をランダムに寝そべらせる強さ
  • Amount Per Block : 1グリッドあたりに生成する Quad の数
  • Material : マテリアル
  • Layer : 生成する Unity レイヤ
  • Alpha Map Threshold : Alphamap の濃さがこの閾値を超えた場所に草を生成
  • Cast Shadows : 影の ON / OFF
  • BuilderType
    • Quad : 正方形メッシュを生成します
    • FromMesh : 指定した Mesh を複製して生成します

サンプルシーン

サンプルシーンを以下で公開しています。 https://github.com/mewlist/MassiveGrassExample

massivegrass's People

Contributors

mewlist avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.