Kink3d / kDecals

Projection Decals for Unity's Universal Render Pipeline.
MIT License
532 stars 53 forks source link

Texture change at runtime will affect all other decals. (I have instantiated DecalData for each decal) #21

Open kuro0ni opened 4 years ago

kuro0ni commented 4 years ago

Trying to dynamically create decals and pick a texture from a list and apply it. I use DecalSystem. GetDecal() to instantiate the decal GO and pass along the clone of DecalData object and then pick a texture from a list and apply it. But every other decal will render the same texture.