cocos2dx 3.8.1 3d模型Z轴深度-200
//打开写入深度缓冲。
glDepthMask(GL_TRUE);
//打开深度测试。
glEnable(GL_DEPTH_TEST);
glDepthFunc(GL_LESS);
Director::getInstance()->setProjection(Director::Projection::DEFAULT);
Director::getInstance()->setDepthTest(true);
参数未生效
需要设置哪些代码参数?