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

What causes shimmering on distant walls or building while moving the camera? #21

Open
KainXVIII opened this issue Feb 12, 2025 · 13 comments

Comments

@KainXVIII
Copy link

I don't know if its texture shimmer or shadows, which setting that i can tinker to get rid of it?

@SuiMachine
Copy link
Owner

Not sure if I know which one you mean. Got videos or something?

@KainXVIII
Copy link
Author

@SuiMachine
Copy link
Owner

Not exactly sure to be honest. Shadows circle seems to be a swap between shadow cascades - kinda sucks it's that obvious. But shimmering, I honestly don't know - I had a look with render doc - normals seem correct. I was expecting that maybe dirt is done in some hacky way using a separate mesh, but that doesn't seem to be a case either.

@SuiMachine
Copy link
Owner

Maybe it's just shadows and how they are rendered at a certain angles. HDRP had something to adjust this, but not sure about built in.

@KainXVIII
Copy link
Author

Maybe it's just shadows and how they are rendered at a certain angles. HDRP had something to adjust this, but not sure about built in.

Ha-ha, this game is real mess technically it seems.

@SuiMachine
Copy link
Owner

OK, so playing around - shadow bias seem to negate it, but that will make shadows detached from objects if the value is high, so there is maybe a possibility that there are building overlapping. Because I just noticed this:
Image

@SuiMachine
Copy link
Owner

OK, I think it's because some models have a separate model for receiving shadow and that one overlaps too closely with a model that's rendered. I could probably just scrap that one model and instead get the LODs to render shadows - I think PCs shouldn't have too much issues with it.

@SuiMachine
Copy link
Owner

There is not much to Hook into unless I can find out what spawns those.

@SuiMachine
Copy link
Owner

https://github.com/SuiMachine/Deadly-Premonition-2---Sui-s-hack/releases/tag/2.0.0

This should now be fixed if you enable replacing shadow meshes with LODs (available in options or config file). It won't work in runtime - it only applies when the mesh is being loaded.

@SuiMachine
Copy link
Owner

Image

Image

@KainXVIII
Copy link
Author

Oh snap! I will try to test it today, thanks.

@KainXVIII
Copy link
Author

I can swear that new shadow meshes setting worked at first when i installed a new patch, but then after some tinkering with settings (to see the difference) enabling/disabling this doesn't do anything at all and its not working (shadows flickering again). Weird!

@KainXVIII
Copy link
Author

I think LOD Mesh shadows settings will take effect only after restarting the game, maybe you need to put the *asterisk after it 👍
Still, texture shimmering is still apparent (maybe its mipmapping issue?) but its minor compared to shadows (which is fixed now!)

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