kingeric1992 wrote:
It is not a universal patch I'm afraid.
It is very likely. The question is - how universal it can be in the end. I'd try various setups and figure out. Strictly speaking, Depth3D itself is not totally universal (I guess Reshade too?), since it has Games compatibility list, and BlueSkyKnight regularly tweaks settings for various games.
in my test engine, I have set the viewport to fit window size by retrieving the buffer size, instead of fixed value, (just for the ability to match in event of window resize), meaning your hacks of forcing window size will not work on similar setup.
Well, here
window resize event doesn't happen, we inject on window create - maybe it will be enough for us to get along? Moreover, all mainstream games that I know, even if they allow windowed mode, make it "NO_RESIZE", so it should not be a problem?
window size, backbuffer size, viewport size,
these 3 can be tied together, or individually set.
I can clearly see your point here. I think that backbuffer is the most elusive for me (as you can see in my previous posts - I only talk about window and viewport). Can you elaborate a little bit more, how is it used, or where can I read about it in detail? Which role does it play with Reshade?
in your case, backbuffer size is tied to window size, while viewport size is set separately.
in my case, all 3 are tied together.
while in some of the modern games, there's a scaling option to have different backbuffer size to the window.
so it really depends on the game implementation.
Again, I think you're absolutely right here. But 3 entities, even with 6 possible connections, are not a gazillion, so I'd try to untangle. Or at least to take a look.
BTW how did you tell that it was a backbuffer resize in my case?
openVR only need sbs texture, which doesn't has to be framebuffer, that's how render to x2 texture then sent it to openVR would be so much reliable.
I guess so. But I feel that openVR is useless in my case, since I don't have nor Oculus nor HTC Vive. And moreover I want this setup to run on Intel HD 4400.
Am I wrong with it?