Open NoUserNameForYou opened 1 year ago
I took a look how this could be done, but it's a bit tricky.
From what I could gather, the videos in the game a in-game-entities, which are uploading the video-frame as texture as part of the game-logic.. Those are updated once per game tick.
However, we render each game state twice, once per eye from a different perspective. During rendering the game world is usually not updated. However, for the 32:9 video to be projected correctly, we'd need to crop and stretch the video differently for each eye, which would need to happen during rendering, but also requires the video-update logic to run.
So long story short, it's feasible, but it would require 2 hacks. The video-player must know somehow for which eye they should update now and secondly we must run the update-logic for all video elements during the render-stage.
.