In simple room configurator I can place objects like different sofas, tables, lamps etc. The view is a first person 3D view. When picking up an object from a menu, I want to place it in the room. The idea is to show the outline of the object on the floor. Because the objects can have quite complex shapes, the outline on the floor should look as if projected from above the object. I do not use a grid, the objects can be placed freely.
When searching for anything with the keyword outline, the results are mostly about outline shaders.
My first idea was to look at the vertices of the object and get the ones which are at the farthest points as seen from the top, independent of their placement in height. Then draw a spline with a glow shader a little above the floor.
But I wanted to ask if someone in the community knows of a better solution? Maybe there is a standard way to do this and I just cannot find it ![]()