Is there a way to add a material glow to meshes without changing every single material that is on a mesh?
I’m wanting to do some glows on characters and possibly some other meshes, and I’m trying to do it just with materials. I know I could change every single material that could possibly be changed, but that also would entail a lot of work for a simple effect.
So, is there a way to do something like this without changing every single material individually?
There is a method you can set up via Blueprint, where it basically duplicates a skeletal mesh and mirrors all of the animations on it, which you can use as a sort of “shell mesh” and apply a simple emissive material with some world position offset to the verts (to push them out a little to avoid overlap and z fighting).
Production-wise, it’s cheaper from a performance standpoint to add the glow in your master character/prop material and adjust it via blueprint or anim curve, but if you want to avoid that it is possible to use the above method.
I know duplicating meshes is something that’s been avoided purposefully, so I’ll look into doing that instead. I came here to check to see if anybody knew another way besides those two, but if that’s my options, then I will deal with them.
It really just depends on the project. If you have something like Diablo or Darktide where you have dozens or even hundreds of characters live all using that feature, the cost will stack up quick. But if you have a game where only a small number of instances can ever use it, like just the main player, you should be safe
Calculate dot product from camera to world normal and you get the fresnel gow, set it with a power node for finer tuning then blend it with the final frame.
I used overlay blend, you can use add or other blending methods, also you can project noises from camera space for more variations.
I’m guessing you just specify what receives the post process based on its stencil value, so that it doesn’t get applied to everything that’s using that material as a parent? Or would this need an exclusive material parent per object you want to affect?
I don’t have much experience with post process either, so I’m trying to wrap my head around how you go about restricting or specifying individual things that the post process effect is applied to