Is there a way to create a shader in UE4 that would turn an object into a 2D silhouetted cut out of an image or of a video?
I was inspired by these really interesting effects used in the game Killer 7. If you look in the image I’ve attached, the character I’ve circled in red is always seen as a 2D gradient from any angle in the game.
Also, here are two video examples that illustrate this concept.
https://www…com/?v=PuGfBuBjlpc
https://www…com/?v=7OrT-Z0J9i4
Heya Alucardac,
World position is a wonderful thing:
From here, you probably want to run that value into a ramp texture or some other function to shape it to get the exact gradient you’re looking for.
Cheers,
Michael Noland
Forgot to set the material to unlit, with that change it works a lot better:
Cheers,
Michael Noland
Thanks so much for the insight, Micheal! I’m excited to try this out.
The image on your last post didn’t seem to load properly actually. Could you possibly repost it?
Not sure what happened there, it was showing up when I uploaded it. I’ve tried again, and I left the attachment on too.
Cheers,
Michael Noland