Skip to content

Instantly share code, notes, and snippets.

@openroomxyz
Created April 1, 2020 09:24
Show Gist options
  • Save openroomxyz/dd3c57b15abc42fb72616e801f0b93ab to your computer and use it in GitHub Desktop.
Save openroomxyz/dd3c57b15abc42fb72616e801f0b93ab to your computer and use it in GitHub Desktop.
Unity : How can i generate easily mesh that is bigger than 65535 vertex ? (The 16-bit limit)
mesh = new Mesh();
mesh.indexFormat = UnityEngine.Rendering.IndexFormat.UInt32; //using 32 bit index insted 16 bit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment