We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 of VRAM (there is also dynamic buffer of visible grass indices which takes max 40 MB).
In my case only number of visible instances has impact on performance.
Here is my benchmark on Redmi Note 11 (Adreno 610).
I appreciate your work and I learned and lot 🤩
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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 of VRAM (there is also dynamic buffer of visible grass indices which takes max 40 MB).
In my case only number of visible instances has impact on performance.
Here is my benchmark on Redmi Note 11 (Adreno 610).
Mesh (11 vertices, 7 triangles)
Mesh (3 vertices, 1 triangle)
I appreciate your work and I learned and lot 🤩
The text was updated successfully, but these errors were encountered: