Imagination PowerVR SDK Blog

Per vertex number of attributes



I’m currently working on a iOS game on IPhone4/IPad2.

Most of time, I’m using the PVRSDK with Visual Studio to code my game, then compile with XCode when i need to run it on the targetted platform.

My problem is for a certain shader, I need 9 attributes for my vertex.

On these platforms, glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, &maxVertexAttributes) returns me 16, but under windows, with latest Imagination Technologies GLES20 SDK, i get only 8.

Is there a way to increase this number ? With a specific profile maybe ?

It’s really low if you want to do complex rendering, and it’s not matching IPhones numbers.

Thanks a lot!