Hi,
I'm currently using a negative vertexZ property on batched CCSprites to give a quick and easy parallax/depth effect. I then scale the sprite up so they don't become really small.
When rendering the scene to a texture using -
CCRenderTexture *rendertexture = [CCRenderTexture renderTextureWithWidth:1024 height:1024];
[rendertexture begin];
[self visit];
[rendertexture end];
When the texture is rendered, all the sprite's vertexZ property seems to return to default.
All sprites that haven't had their vertexZ property modified appear as expected.
I'm not changing the camera in anyway. I'm currently using 0.99.5, I have checked the 1.0rc/beta change logs and didn't see anything covering this possible issue.
Is this the correct behavior?
Thanks David.