How to make the texture appear when objects intersect

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By T_T_D

I need the effect to appear on the ground, as from a projector, so that the texture does not hang in the air if the object has different heights, like steps. Example is what I need -

:bust_in_silhouette: Reply From: Dorcat

What you’re looking for is currently only available in Godot 4.0, these are Decals and Spotlights with a texture. If you want to do it in Godot 3.5 you’ll want to find shader code to replicate how Decals work.