Kink3d / kDecals

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

[1.0.0] Decal projection not updating correctly #5

Open Nolram12345 opened 4 years ago

Nolram12345 commented 4 years ago

So I tried using this system with the instructions given on the wiki page, but my decal is not visible. (See attached screenshot). How can I fix this ? 253245234523 5262524562

Kink3d commented 4 years ago

Hi, not sure if you solved this already but try moving the decal away from the surface a tiny bit and clicking either Orientate to Nearest Face or Snap to Nearest Face on the Decal component.

In version 2.0.0 this is no longer required (decal projection is automatically updated when you alter the Transform), but this version only works with Universal Render Pipeline.

Nolram12345 commented 4 years ago

I have already tried that, but it was still invisble. I was in the Built-In render pipeline, could that have had an effect ?

antim0118 commented 4 years ago

Have you tried to change rotation (x=90 to make it look down)?

Kink3d commented 4 years ago

Unfortunately, in this version (1.x.x) decal transforms cant be set directly from the transform component (projection axis isn't updated correctly). When you click those buttons does the decal re-orientate itself?

If not perhaps your plane doesn't have a collider? (required for the snap/orientate buttons).

Shouldn't be anything to do with the render pipeline. 1.x.x is designed for built-in renderer. If you are able to update your project to use Universal Render Pipeline then I would recommend it. URP is the future of Unity (and then you can use 2.0.0 of these decals, which is much better).