Home › Forums › PowerVR Insider Graphics › Per vertex number of attributes
This topic contains 0 replies, has 1 voice, and was last updated by hidk 6 years, 5 months ago.
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!