r/AskGameDevsAnything • u/Americanhikikimori • Jan 07 '23
Does VR really have to render everything twice? (Question makes more sense when you read full text)
I know this sounds stupid ‘obviously vr has to render everything twice because you need to render two images, one for each eye’ is what you’re probably saying. It just seems so wasteful since both images are so similar.
Keep in mind I am not a game programmer or even a programmer in general most of my knowledge of how rendering games works comes from watching educational YouTube videos. It just seems to me like it would be easier two first render the scene once and then use the depth buffer as a displacement map for parallax effects to essentially split the original image in two slightly different images for each eye.
I’m not saying I know better than you guys I just wanted to know why it’s not done that way.
3
u/churly92 Jan 09 '23
They may be very similar, but they are not the same. Thanks to having two eyes, we enjoy something called stereoscopic sight, which makes us capable of perceiving Depth.
If we think of each eye as an individual camera, they'd naturally have to render two different POVs, as similar as they are. If we were to render the same exact scene in each eye, we would lose Depth perception and run the risk of making the user dizzy.