# Building a Cross-Platform GPU Procedural Grass System in Unity URP (Optimized for Mobile)

**URL:** <https://forum.devtalk.com/t/building-a-cross-platform-gpu-procedural-grass-system-in-unity-urp-optimized-for-mobile/221100>\
**Category:** Game Dev Libraries/Projects\
**Tags:** mobile-development, unity, graphics, urp, computshader, culling, instancing\
**Created:** [2 November 2025 15:18 UTC](https://forum.devtalk.com/t/building-a-cross-platform-gpu-procedural-grass-system-in-unity-urp-optimized-for-mobile/221100 "2025-11-02T15:18:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AkilarLiao](https://forum.devtalk.com/letter_avatar_proxy/v4/letter/a/91b2a8/32.png) [@AkilarLiao](https://forum.devtalk.com/u/AkilarLiao)\
**Post date:** [2 November 2025 15:18 UTC](https://forum.devtalk.com/t/building-a-cross-platform-gpu-procedural-grass-system-in-unity-urp-optimized-for-mobile/221100/1 "2025-11-02T15:18:02Z")

</div>

Hello Devtalk Community,

I’m sharing a GPU-Driven Procedural Grass System for Unity URP, heavily optimized for mobile. Key Features & Challenge: This system handles Procedural Generation and implements precise ViewFrustum, Distance, and FilterMap Culling entirely on the GPU. However, I faced the common mobile hurdle: SSBOs being unstable in the Vertex Shader on low-end hardware. My Solution: To ensure robust cross-platform stability, I bypassed the unstable SSBO path. The Compute Shader now writes instance data (including culling results) to a RenderTexture (UAV), which is then sampled by the final shader. Seeking Expert Opinion: This RenderTexture method guarantees stability, but introduces potential texture cache overhead. Is this the most practical performance/stability trade-off for commercial URP Mobile development today?

I’m keen to hear your critical thoughts. — Full Technical Breakdown (Including implementation details on Culling):

> **[Building a Cross-Platform GPU Procedural Grass System in Unity URP (Optimized...](https://makedreamvsogre.blogspot.com/2025/09/building-cross-platform-gpu-procedural.html)**
>
> Recently, I’ve been working on a project called UnityURP-Procedural-DrawMeshInstancedIndirect, and I’d like to share some advantages of proc...

Source Code (GitHub):

> **[GitHub - AkilarLiao/UnityURP-Procedural-DrawMeshInstancedIndirect: Procedural grass rendering in Unity URP using...](https://github.com/AkilarLiao/UnityURP-Procedural-DrawMeshInstancedIndirect)**
>
> Procedural grass rendering in Unity URP using DrawMeshInstancedIndirect and WeightMap control.

---

<div class="post-metadata">

**Author:** ![AkilarLiao](https://forum.devtalk.com/letter_avatar_proxy/v4/letter/a/91b2a8/32.png) [@AkilarLiao](https://forum.devtalk.com/u/AkilarLiao)\
**Post date:** [18 December 2025 19:51 UTC](https://forum.devtalk.com/t/building-a-cross-platform-gpu-procedural-grass-system-in-unity-urp-optimized-for-mobile/221100/2 "2025-12-18T19:51:38Z")

</div>

Just to close the loop on this thread:

The discussion influenced how the system evolved,  
especially regarding cross-platform stability and GPU-only workflows.  
I later summarized the technical reasoning and lessons learned in this write-up:

> **[🌸GPU-Driven Poetic Dynamics: From Simulating Ghost of Tsushima’s Iconic...](https://makedreamvsogre.blogspot.com/2025/12/gpu-driven-poetic-dynamics-from.html)**
>
>   In my previous post, Simulating Ghost of Tsushima’s Iconic White Flower Field in Unity , I wrote: “I hope it can eventually run just as ...

The same approach has since been packaged into a Unity tool for practical use:

> **[GPUFloraPainter | Painting | Unity Asset Store](https://assetstore.unity.com/packages/tools/painting/gpuflorapainter-343612)**
>
> Get the GPUFloraPainter package from SmallBurger and speed up your game development process. Find this & other Painting options on the Unity Asset Store.
