Android打包后,场景无法显示3D元素,报错如下。 iOS 没问题。
尝试了下,是3D预设件开启了 Shadow Casting Mode 、 Receive Shadows 导致的,希望官方能解决下。
glDrawElements(static_cast(_nextState->primitiveType), count, static_cast(nextIndexBuffer->getFormat()), (GLvoid *)(base * nextIndexBuffer->getBytesPerIndex())); GL error 0x502: GL_INVALID_OPERATION:draw