Jump to content

Material Instancing


OMAR
 Share

Recommended Posts

It's like creating "instances" of a material which might have different properties.

For example there is Material A which has emissiveColor of Blue and Material B is an instance of Material A that has an emissiveColor of Red. But of course since Material B is an instance of Material A, applying diffuseColor to Material A will influence Material B as well, but Material B can have its own properties set for diffuseColor.

Basically the whole idea is to have instances of materials in the scene which have different properties set to them making scene look really colorful while keeping the number of drawCalls same.

I mean I don't even know whether it's possible in theory or not, maybe I went full mad scientist here sigh :) 

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...