PDA

View Full Version : Best strategy for text overlays to openGL widget using shaders



schr
20th August 2010, 13:50
Hi,
I have a QGLWidget that use shaders and I would like to make use of overlaying text. What is the best strategy for this? Render to an image and then put that on a texture? Use Qpainter directly on the Widget? Or something like QGraphicsScene?
I am a beginner so looking for a not too complex solution at the moment. I am also wondering if the two latter strategies will co-exisit well with shaders as they seem to make use of fixed functionality pipeline?

Thanks in advance,
Soren