Paper Flipbook Sprite Outline

I have a Paper Flipbook that contains the sprites of my character and I want it to show an outline (could be basic outline or glow depending on what is achievable in BP) whenever the character is possessed. I have no issue concerning the possessed part but I have totally no idea on how to create the outline. I can only find tutorials for 3D but nothing working about 2D. I really need help for this, thanks What I would like to achieve:

Classic Outline

I found this picture about Unity’s Sprite Outline/Glow that I find interesting. Would it work with UE4? If yes, how?

There’s also a lot of BluePrints here (blueprintUE | PasteBin For Unreal Engine 4). Would they solve my issue? If yes, these are Post Process materials. How to apply the post process material to my character that has already a material which is the MaskedUnlitSpriteMaterial (instance of DefaultSpriteMaterial)?

Nobody have an answer to this?

Bump

Hey
Know this is a bit late, but I had a hard time finding an example and after finding plus modifying Slavq’s method I had to post it here for others.
Make a material from the image and replace the material for the sprite or flipbook.


you can also make an instance where you can change the parameters then use it in the material slot.

2 Likes

i made the same material but it only keeps the image of the dummy sprite texture “moving” when applied to the flipbook

Not sure what you mean, post some pictures of what you doing and show where you setting the material for the sprite, that last node if you connect that it will use the tint color in the config of the sprite in the actor.

Hello. It’s pretty late to answer to this question, but i’ve tried this solution and it worked for me:
image
image
The thickness parameter depends on a sprite itself and you should check it on your own to determine the best fit for you.
The material blueprint is here: Paper2D Sprite Outline posted by xi8ight | blueprintUE | PasteBin For Unreal Engine

6 Likes