Clean up of tg vertex shader.