So I am trying to create a material for a room and I want the area around a moving actor to glow using an emissive mask that I have. This material is not transparent so I can’t use a depth fade. I want it to work similar to the included screenshot but I want the distance from the actor rather then the pixel depth from the camera.
instead of having 0 in the A pin of the lerp, make B the 0 of the lerp. That should give the exact effect you are looking for.
i just realized you meant THIS object not your player. use the ActorPositionWS node instead of Pixel Depth
Thank, I’m using that node but not getting any results. How do I set what actor it is getting the position of?
I think you got me on the right track though. I’m experimenting with that node and another node for getting the location of the object I’m moving through the room. Hopefully I’ll have it after a couple hours of work tomorrow.