Render Texture position for 3d nodes

I am trying to render all 3d nodes on a scene which a camera sees and pass it to a shader as uniform.

I have got problems with render texture position.

Size size = Director::getInstance()->getWinSize();
renderTexture = RenderTexture::create((int)size.width, (int)size.height);

in update method i call:


and call visit() on my 3d nodes. But result looks like render texture sees from the center of scene

Okay, as i see setPosition is not working for render texture.

Any comments about this? Render Texture is not rendering 3d sprites which are placed on z axis farther than -600 · Issue #20639 · cocos2d/cocos2d-x · GitHub

I would like to know it is my mistake or cocos2d bug