Billboarding Certain Vertices Within The Vertex Shader

Someone actually posted a solution to this in a thread recently: