UnityURP-MobileDrawMeshInstancedIndirectExample
UnityURP-MobileDrawMeshInstancedIndirectExample copied to clipboard
Example project to draw 1million grass instances on mobile
 Hi. Thanks for the grass shader example! I found a bug. On a large area, when we look from above, some squares are visible. It happends when we...
Hello, Thanks so much for publishing this. I've tried so many different grass assets for Unity (for VR) and this is hands down the best I've found--and most of the...
It seems that you use vertex lighting for your grass, that might explain why this is so fast. Can this be done in a shader graph? I'm asking because I'd...
According to your statement - it can handle 10 million instances https://github.com/ColinLeung-NiloCat/UnityURP-MobileDrawMeshInstancedIndirectExample?tab=readme-ov-file#can-this-demo-runs-on-midrange-mobile Grass position buffer per instance takes 12 bytes (float3) https://github.com/ColinLeung-NiloCat/UnityURP-MobileDrawMeshInstancedIndirectExample/blob/master/Assets/URPMobileGrassInstancedIndirectDemo/InstancedIndirectGrass/Core/CullingCompute.compute#L9 So count of 10M takes only 120 MB...