Hello! For my artstyle, I really like having darkened areas around where different objects meet, E.G:

I add shadows/grime where the metal meets the wood. Similar to ambient occlusion, but way more pronounced.
However, I have gotten to the point where some of my assets are for modular use, for instance placing a torch on a wall.
This means I cannot pre-paint this effect, as their placement isn't pre-planned.
So I am trying to see if I can figure out a way to darken the area around where I place objects dynamically.
I do not want depthfade, as they are depth-based and will show the objects behind what I'm trying to shade.
I seem to remember have been able to do something similar when experimenting with a water shader using distance fields. But I haven't quite figured out how to use them this time, and are they resource expensive? Is perhaps a blueprint object with a decal better?
I add shadows/grime where the metal meets the wood. Similar to ambient occlusion, but way more pronounced.
However, I have gotten to the point where some of my assets are for modular use, for instance placing a torch on a wall.
This means I cannot pre-paint this effect, as their placement isn't pre-planned.
So I am trying to see if I can figure out a way to darken the area around where I place objects dynamically.
I do not want depthfade, as they are depth-based and will show the objects behind what I'm trying to shade.
I seem to remember have been able to do something similar when experimenting with a water shader using distance fields. But I haven't quite figured out how to use them this time, and are they resource expensive? Is perhaps a blueprint object with a decal better?
Comment