Jump to content

instanced meshes


unicomp21
 Share

Recommended Posts

Instanced meshes, for a given root mesh, would it be possible to have multiple arrays of instances where each has a different material?  I'm using geometries which tile across 3D space, kinda like 3D noise, being able to use multiple materials w/o cloning meshes would really help me save gpu memory.

 

Link to comment
Share on other sites

No, that's why I'm asking for multiple instance arrays, each with a different material.

Let's say I have 3 different types of interlocking bricks I use for constructing buildings (in my case it's a much higher count).  Allowing each of these bricks to have two instance arrays, 1 for red material and 1 for brown material, allows me to save gpu memory in that I don't have to make copies of the "root" brick meshes for each different color of brick.  The example I've given is trivial, but when moving to hundreds or thousands of proc-generated meshes, the overhead is no longer trival.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...