Download

Camera (PP) effect when looking at asset - need suggestions on creating

Do the collective knowledge of the forums know the best approach to create a visual postprocess effect appear when looking at a specific asset or pawn?

Should I use a line trace? Trigger?
Would tagging and PP channel handling be a good idea?

I am not looking for outlines or similar, it should also only work when looking at the asset.

Depends on your game mechanics. If you want the player to look at an object to interact, then a line trace for a single object. If you want the player to be near an object to interact, then a trigger volume. This blog has fantastic tutorials that include this type of thing as well as code in C++ or Blueprints. http://www.tomlooman.com/

EDIT: it also includes a PP Material for focused objects.

Thanks!

Wouldn’t it be costly (performance wise) to have a line trace always looking for said object?