[About macOS Sequoia] (Updated October 22, 2024)
Live2D Cubism Editor 5.1.02 now supports macOS Sequoia.
Other Live2D Cubism products currently released are not guaranteed to work on macOS Sequoia.
Please refrain from upgrading macOS, as it may not operate properly.
Live2d can't coexist with Sprite3D
Hi,
I found that when I used Live2d. The sprite3d didn't work.
It appears like that the depth is closed.
It happens when the sprite added to the layer. The live2d init didn't change the setting.
Could you tell me what did you do in the live2d sprite drawing?
I'm Looking forward to your reply.
0 ·
Comments
Can you paste the relevant codes or errors which you are having this issue with?
Left is the Sprite3D with adding live2d node.
Right is the Sprite3D without adding live2d node.
The sprite3D problem appears.
I ask the cocos2d developer. It looks like the depth test is closed.
So I guess if there is any bugs in the function
live2d::DrawProfileCocos2D::postDraw() ;
void LAppLive2DManager::onUpdate()
{
live2d::DrawProfileCocos2D::preDraw();
L2DMatrix44 projection;
Director* director=Director::getInstance();
Size window=director->getWinSize();
projection.scale(1, window.width/window.height);
if (viewMatrix!=NULL) {
projection.append(viewMatrix);
}
live2d::DrawProfileCocos2D::postDraw() ;
}
Can you tell me your development environment?
・cocos2d-x version
・Live2D SDK version
・platform(windows or Android or iOS)
・Live2D SDK version 2.0.06
・platform(iOS)