Adding a text label on renderer

You can look at the following Spheres and Labels example. It creates a “text canvas”. You might then simply capture the canvas to generate your snapshot.