BillBoards and ES2/ES3 iOS

Hi,

I tested ofVboMesh draw function in iOS ES2 or iOS ES3 with OF_PRIMITIVE_POINTS and it don’t work for me.

billboards.setMode(OF_PRIMITIVE_POINTS);
ofEnablePointSprites();
texture.bind();
billboards.draw();
texture.unbind();
ofDisablePointSprites();

I checked with and without texture but nothings is displayed.
OF 0.93 & 0.98 tested

If I change glesVersion OFXIOS_RENDERER_ES1 works properly.

Any hint? help!

thanks,
X

in ES2 you need to create your own shaders to texture the points

ok, I have running properly with custom shader texturing the points.
thanks @arturo