• Editor
  • How does the editor handle Ghosting / outlines?

Related Discussions
...

I'm thinking about implementing outlines for skeletons in my game (it's LibGDX). I was hoping Nate, if he has some time, or somebody else, could share some insight about how outlines are implemented in the editor. It does seem to be a bit performance heavy since sometimes my computer heats up a bit while using Ghosting in the editor. Is it viable for games, if 2 to 3 skeletons are using it? Is it implemented using shaders?

Thank you!

EDIT: I'm trully sorry if this is offtopic or inappropriate

I can't tell you how the shaders look exactly but I can tell you how it was done.
Basically the entire skeleton is rendered to the FBO and then a shader is used to create the outlines. The more ghosting frames you create the heavier it will be, depending on your character you should be able to use it in-game. 2-3 skeletons using it should be possible, but you might have to tweak it a little to get good enough performance.

You can see another thread on the topic here viewtopic.php?f=7&t=3121&p=15314