reshade and 3d vision

  • davegl1234
  • Topic Author
More
6 years 8 months ago #1 by davegl1234 reshade and 3d vision was created by davegl1234
Hi,

Is reshade compatible with 3d vision?

I've managed to get it working fine in 2d with swtor (including MXAO), but when I enable any effect (even non depth based ones) with 3d vision the image glitches.

More specifically, in 3d, if I remove the glasses the two overlayed images seem to separate vertically with any reshade effects enabled, and with 3d vision enabled in the control panel, but disabled in game, the whole 2d image seems to move slightly to the right and down, and everything blurs somewhat, if that makes any sense.

Is it generally incompatibility with 3d vision, or just a game issue here?

Incidentally, I can get most reshade effects working fine in tridef, with swtor (no such image shifting glitches mentioned above), but not MXAO (the ambient occlusion shading seems to flicker from one of the overlayed images to the other).

Thanks for any help

Please Log in or Create an account to join the conversation.

  • davegl1234
  • Topic Author
More
5 years 3 months ago - 5 years 3 months ago #2 by davegl1234 Replied by davegl1234 on topic reshade and 3d vision
In case anyone is wondering, I went to play swtor again after a year in which I have gained some experience of directx programming, and I have managed to ascertain and resolve the issue.

In DX9 there is a texel/pixel offset problem, which every Reshade effect fixes in the vertex shader. To do this, the PostProcessVS shader needs to know the texel size, which is presently passed into the shader via constant 255. It seems swtor overwrites this constant with a different number (maybe only in 3d vision?), causing the offset issue I described.

I downloaded Reshade and have simply changed the constant to register 254, and after compiling everything is working as it should. I had a brief look, but it seems that this register is hard-coded and not changeable in the ini, but I may be wrong?
Last edit: 5 years 3 months ago by davegl1234.

Please Log in or Create an account to join the conversation.

  • crosire
More
5 years 3 months ago #3 by crosire Replied by crosire on topic reshade and 3d vision
It's hardcoded, yes. There hasn't been a reason to make it configurable until now.

Please Log in or Create an account to join the conversation.

We use cookies
We use cookies on our website. Some of them are essential for the operation of the forum. You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.