cocos2d-x
cocos2d-x copied to clipboard
Render Texture is not rendering 3d sprites which are placed on z axis farther than -600
- cocos2d-x version: v4.0
- devices test on: iMac (21.5-inch, Late 2015) Catalina
2d sprites work correctly.
auto winSize = Director::getInstance()->getWinSize();
getDefaultCamera()->initPerspective(60.0f, winSize.width / winSize.height, 0.1f, 4096.0f);
As i understand, render texture draws as orthographic and it is ignoring settings of default camera.
Z = 0

Z = -600

Z < -600 is just black screen
Any comments about this?