# ColinLeung-NiloCat/UnityURP-MobileDrawMeshInstancedIndirectExample

Example project to draw 1million grass instances on mobile

Repository: https://github.com/ColinLeung-NiloCat/UnityURP-MobileDrawMeshInstancedIndirectExample
Canonical: https://ross.abutalabs.com/products/unityurp-mobiledrawmeshinstancedindirectexample
Homepage: https://youtu.be/A7rav4tS88s
Language: C#
License: MIT
License Family: permissive
Topics: unity, mobile, instancing, indirect, grass, urp
Last push: 2020-11-25T15:47:14+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2231, "days_push": 2107, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1709, forks 260 (observed 2026-08-28T04:05:25.548499+00:00)

## What it is
A Unity URP example project demonstrating how to render millions of grass instances on mobile devices using DrawMeshInstancedIndirect with compute shader culling. It is a minimal, well-commented educational codebase showing GPU instancing techniques for mobile performance.

## Use cases
- render millions of grass instances on mobile
- learn DrawMeshInstancedIndirect in Unity URP
- GPU instancing example for Android
- implement grass bending with render textures
- optimize mobile rendering with compute shader frustum culling
- reference for instanced indirect rendering in Unity

## When to choose
- building vegetation or grass systems in Unity URP targeting mobile
- learning GPU-driven rendering and DrawMeshInstancedIndirect
- needing a simple, minimal reference implementation of instanced indirect drawing

## When to avoid
- need a production-ready, feature-complete grass system with advanced culling and LODs
- not using Unity or the Universal Render Pipeline
- targeting platforms without OpenGL ES 3.2 / Vulkan support

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: graphics, simulation, game-engine
- domain: graphics, mobile-development
- platform: cross-platform, game-engine
- tags: unity, urp, drawmeshinstancedindirect, gpu-instancing, grass-rendering, compute-shader, example-project, csharp, game-development, android

## Member repositories
- ColinLeung-NiloCat/UnityURP-MobileDrawMeshInstancedIndirectExample (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:25.548499+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:35:14.703075+00:00, confidence not recorded.
  - readme: https://github.com/ColinLeung-NiloCat/UnityURP-MobileDrawMeshInstancedIndirectExample (fetched 2026-08-28T04:05:25.548499+00:00, sha 1019081cbc82)
  - homepage: https://youtu.be/A7rav4tS88s (fetched 2026-08-29T11:11:09.669423+00:00, sha 1f0273596ebb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
