@taketori7616 wrote:
I'd like to draw more than 10000 font textures, so I would like you to tell me how to write that shader.
setup
ofVboMesh vboMesh; myFont.load("Futura.ttc",8,true,true,true,0.5,1000); vboMesh = myFont.getStringMesh("taketori", 0, 0);
draw
myFont.getFontTexture().bind(); vboMesh.draw(); myFont.getFontTexture().unbind();
I want to draw plenty of textures of fonts written like this, but if you do with 1000 CPUs, FPS will go down if you draw 1000 pieces.
So, is there a way to draw textures to the shader to draw over 10000?Since GLSL is a beginner, please tell me in detail.
Posts: 2
Participants: 1