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?

Answered by Suan in 783495022

oh, I forgot to specify render target index

Accepted Answer

oh, I forgot to specify render target index

mesh shader and vertex amplification
 
 
Q