Using Decals for letters, written clues, etc

Hi

So I’ve been experimenting with using decals to project props like letters for the players to see and use. It seems useful as it’s so easy to change the content and I can blend mats. But it’s URP so there’s no way of (afaik) using layers so the projection reange can’t be easily managed.

Is there another better way of achieving this?

Most games I’ve seen use physical objects for props. Meaning a document on a table will be a flat plane with a texture.

I’m not sure why would you use projectors for props, as this is not what they’re for.

In scenario where you’d need a somewhat dynamic content (meaning a book where you can flip pages, but the text is from a file), the usual idea would be to use render to texture. And using RenderTextures allows you to blend things however you want.

1 Like

Excellent, thank you very much! Precisely the type of answer I was looking for.

Well… still glad for your answer but because using things in ways they were not meant for is an excellent way of finding new interesting ideas!

Absolutely can be :slight_smile:

But in something as complex as a game engine, it can also be a great way to learn bad habbits, misconceptions or even introduce weird issues :wink:

Therefore it is probably best to stick to learning the right way to use things first, before experimenting :slight_smile:

Good luck!

If anyone is interested in projecting dynamic text, I’ve developed an asset called Text Decal that does exactly that.

It allows you to project TextMeshPro text as a decal in URP, update it at runtime, and fully supports URP’s new rendering layers for better control.

This approach can be useful in cases where you need:

  • dynamic text updates,
  • localization,
  • sharper text than baked textures,
  • full support for any TMP fonts and styles.

40 bucks for this is crazy

Then stop posting and implement it yourself.

1 Like

If you don’t need it dynamically like that asset probably provides, just pre-render all clues at game startup onto render textures and use those with classic decal projection like there are tutorials out there for.

If it was 10 bucks it would have way more purchases anyways, ain’t nobody spending 40 bucks on a hyper specific tool like this

Prove it. Make it yourself and publish it on the asset store.