godot-destruction-plugin icon indicating copy to clipboard operation
godot-destruction-plugin copied to clipboard

Ability for shards to use a custom material

Open ZachAR3 opened this issue 10 months ago • 4 comments

I saw something like this mentioned in the commits but I don't see it available in the plugin, basically just a material slot which if found not null at time of shard generation will be used on all of the shards.

ZachAR3 avatar Oct 21 '23 07:10 ZachAR3

This can be achieved by overriding the material in the shards scene. Is that an option for you?

Jummit avatar Oct 21 '23 11:10 Jummit

This can be achieved by overriding the material in the shards scene. Is that an option for you?

Assuming you mean just manually editing the shard GLBS material; I mean that's a basic Godot feature, but that's kinda a pain compared to just having an exported attribute as part of your destructibles plugin haha. Obviously up to you though, I just think that's a worthwhile QOL update.

ZachAR3 avatar Oct 21 '23 12:10 ZachAR3

Just to make sure that we are talking about the same thing: You can open the import dialog for the shard scene, go to the materials tab and set the "use external" to your material. Still, I can see this being inconvenient if you have to do it for a lot of scenes.

Jummit avatar Oct 22 '23 09:10 Jummit

Just to make sure that we are talking about the same thing: You can open the import dialog for the shard scene, go to the materials tab and set the "use external" to your material. Still, I can see this being inconvenient if you have to do it for a lot of scenes.

Yup, that's I'm referring too. By allowing this too you could update materials for specific items or scenes instead of remaking the shard scene for multiple colors and whatnot.

ZachAR3 avatar Oct 22 '23 10:10 ZachAR3