Mesh Instancing?

This question is more aimed towards Roblox staff/interns who have worked on the rendering side of Roblox.

When a Mesh is stored in either game.Workspace or game.ReplicatedStorage, is that mesh automatically downloaded to the client and added to the buffer? Second, are MeshParts that share the same properties instanced/is there a way to instance objects to save on preformance?

  1. Semitransparent (Transparency > 0) MeshParts will not get instanced at all.
  1. As long as the only difference between two MeshParts are their Size, CFrame, Color and Reflectance, they will be instanced.

Also note that instancing will only take effect if the two MeshParts are close enough (afaik this is still the case).

4 Likes

Question: When a Mesh is stored in either game.Workspace or game.ReplicatedStorage, is that mesh automatically downloaded to the client and added to the buffer?

Yes, all assetIds load in the initial mesh file but past that it’s stored pretty well.

Here’s a place full of meshparts (4 different mesh files, ~1500 meshparts of each mesh file)

Same map, with all the meshparts in ReplicatedStorage


Question: are MeshParts that share the same properties instanced/is there a way to instance objects to save on preformance?

Edit: See XAXA’s post above

6 Likes

Alright thank you guys. I can begin production on my game without fear!