Reputation: 4246
On desktop i have nice working render but mobile android-13 RedmiNote12xpro debugger run on target chrome 131.0.xxx mobile browser.
I collect info with remote chrome debugger :
Problematic (only this object is not visible)
App.scene.mapobjsgroup_10_4.mesh.vertices.length
7542
Obj file size is 600kb
Webgl info:
{
"maxTexturesInFragmentShader": 16,
"ALIASED_POINT_SIZE_RANGE": {
"0": 1,
"1": 1023
},
"DEPTH_BITS": 24,
"MAX_SAMPLES": 4,
"MAX_TEXTURE_SIZE": 4096,
"MAX_VERTEX_ATTRIBS": 16,
"MAX_ELEMENTS_VERTICES": 2147483647
}
There is no warns logs.
Is there some quick fix to split single draw and make posible to render?
I know how to control num of indices to draw half object but i dont know how to draw other part how not starting from begin 0 index.
world.GL.gl.drawElements(world.GL.gl[object.glDrawElements.mode], object.glDrawElements.numberOfIndicesRender, world.GL.gl.UNSIGNED_SHORT, 0);
Upvotes: 0
Views: 6