I'm creating a WebVR application using three.js. Currently I'm trying to set the resolution of the window to the resolution of the hmd in order to get a clearer picture. I've been trying to get this information using VREyeParameters renderWidth/Height components. However with the Vive I'm using I keep getting a resolution much larger than the supposed 2160x1200 (I got the width to be 3448). Am I grabbing the wrong information and is there somewhere else I need to be getting these values from?
The values look correct.
You are rendering to a temporary texture that is projected with barrel distortion to the destination LCD. For best quality, the temporary texture is in higher resolution.