I have a mini-game for my game in which the player has to paint a lot of decals. The decals are randomly chosen from a pool of images. Problem is, a DecalSet
can only hold a single decal material, and that left me creating a lot of DecalSet
components whenever I want to paint a decal, because the decals are different and not using that same single material. Performance considerably dropped down.
0 decal:
50+ decals, the time spent during Render/Present
increased a lot:
Is there any workaround? I know I can customize DecalSet
into something else, i.e. LightDecalSet
which optimizes for only one decal, but I’d like to know what I’ve been missing.
Thank you!