mesh shader and vertex amplification

I tried to render to two layers using vertex amplification in my mesh shader program, but in the vision pro only the left eye has content and it contains 2 eyes image, and when I switch the mapping0.renderTargetArrayIndexOffset in the encoder, it does not transfer the image to the right eye. Using vertex amplification achieve 2 eyes rendering?

Accepted Reply

oh, I forgot to specify render target index

Replies

oh, I forgot to specify render target index