I try to load a gltf/glb model in cesium, it works fine on my Mac, but failed on my iPhone.
I got the following error:
[Cesium WebGL] Vertex shader compile log: ERROR: too many uniforms
[Cesium WebGL] Vertex shader translation failed.
An error occurred while rendering. Rendering has stopped.
RuntimeError: Vertex shader failed to compile. Compile log: ERROR: too many uniforms
Is there any limitation for the model file?
After check the WebGLReport.com, I guess the problem is caused by the value of “ Max Vertex Uniform Components:” It’s 2048 for iPhone, while my model has 2.1K vertex.
Do I have to simplify my models?
PS: I got the same result for gltf and glb format, no matter enabled the Draco compress or not.