I’m trying to generate a border around typed characters. Something that looks like this:
I can’t seem to come up with a solution that performs quickly enough.
How would you do this in OpenGL? The border needs to be regenerated every frame and it would be nice if the border size could be set by the user.
I keep thinking there should be a way to pull it off with a fragment shader, but I haven’t managed it yet.