Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

there is always a distortion next to 3D object. #106

Open
gpuclub opened this issue Dec 3, 2023 · 6 comments
Open

there is always a distortion next to 3D object. #106

gpuclub opened this issue Dec 3, 2023 · 6 comments

Comments

@gpuclub
Copy link

gpuclub commented Dec 3, 2023

1 on the left side of the obj on the left frame of sbs, and 1 on the right.
it distorts significantly around 5mm next to contour of an object.
It's very bad for any texts on top of it.
image_2023-12-03_005747164

@BlueSkyDefender
Copy link
Owner

BlueSkyDefender commented Dec 3, 2023 via email

@gpuclub
Copy link
Author

gpuclub commented Dec 3, 2023

Thanks, I guess you are right. It's not just the UI, you could clearly see the distortion "halo" around the 3D obj in front. I just wonder how do other 3D shaders avoid this issue. This geo11 for example doesn't have this issue on the same game I tested like God of War or Fallen Order. Vorp3D looks like doesn't have this issue with cyberpunk. I didn't test Vorp3D. There must be a way that they found. I wonder if you could tell me in your code where does this infilling happens? Maybe I can find a way or play with some parameters. Well, see what you can do. It really breaks the visuals though and feels like it can be solved. Thanks though for quite a remarkable software.

@BlueSkyDefender
Copy link
Owner

This is not the same thing as Geo-11 or VorpX. This is Depth Based Stereo 3D that is based only on Color + Depth.

Geo-11 does not have a Depth Based Stereo 3D mode.

VorpX has both methods. Geometric and Depth Based. So when you use the There Z-Buffer mode you will get halos.

But, unlike those methods ReShade + Depth3D can cover a wider amounts of APIs. Making it more universal.

Infilling is necessary for this method of stereo 3D. There is no way around it. But, You can change the type of Infilling. You do that under the View Modes.

Warning changing Primary Setting can make this problem worst. Since this game has a profile avoid changing Near Plane and any ZPD controls. So when in doubt Reset Your Shader Settings to Default if you changed any primary settings.

As a side note. You will get used to the halo overtime.

@gpuclub
Copy link
Author

gpuclub commented Oct 1, 2024

I have a great idea:
Let's add a list of rectangle coordinates that are simply copied from 2D ignoring Depth buffer.
We can use that feature to copy over HUD text and completely avoid distortions making it unreadable.
Can it be done?

@gpuclub
Copy link
Author

gpuclub commented Oct 6, 2024

can it be done, bro?

@BlueSkyDefender
Copy link
Owner

Only for some games. We have profiles for them on our discord.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants