#Material parameters per object

2 messages · Page 1 of 1 (latest)

dull swan
#

Probably a very common question and I looked through discord and it looks like it's in work, but atm my best bet is to just clone the material, is that correct?

In my case I would need to check if my gltf scene is freshly instanced and then go through the whole structure to clone the material and replace the handle?
Is my workflow so far from how one should do things, or is it that complicated?

kindred musk
#

Yes, right now you have to clone the material.

Technically you can use the low/mid level rendering APIs, but I cannot recommend that because it's a ton of code, the APIs change frequently and it makes it very hard to update to new versions. I have a work project currently stuck on 0.11 due to this xD