Skip to content

Mip bias override seems to have no effect in Diablo 2 Resurrected #323

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

Open
aufkrawall opened this issue Mar 17, 2025 · 6 comments
Open

Comments

@aufkrawall
Copy link

I set these options:

; Override value for mipmap lod bias
; -15.0 - 15.0 - Default (auto) is disabled
MipmapBiasOverride=5

; Use a fixed value for lod bias 
; true or false - Default (auto) is false
MipmapBiasFixedOverride=true

; Use override value as scale multiplier 
; true or false - Default (auto) is false
MipmapBiasScaleOverride=auto

; Override all textures lod bias (normally only overriding < 0 values)
; true or false - Default (auto) is false
MipmapBiasOverrideAll=true

; Override max anisotropy for textures
; 2, 4, 8, 16 - Default (auto) is disabled
AnisotropyOverride=16

; Override anisotropy and mipmap bias values of shader samplers 
; Might cause image corruption and other issues but could solve override is not working with some games issues
; true or false - Default (auto) is false
OverrideShaderSampler=true

But result is not blurry as expected, instead seems to look like with mip bias =0:

Image

Log:

OptiScaler.7z.zip

@cdozdil
Copy link
Owner

cdozdil commented Mar 17, 2025

You need to set minus mip bias for increasing sharpness

@aufkrawall
Copy link
Author

aufkrawall commented Mar 17, 2025

Yes, but it's easier to demonstrate with positive values when the option has no effect, as the blurriness usually is more apparent than an increase in texture detail. Using negative values also doesn't increase sharpness in this case.

This is with -2.0 (confirmed in OptiScaler UI with game restart in between) vs. 0, also negative bias has no effect:

Image

Image

@cdozdil
Copy link
Owner

cdozdil commented Mar 17, 2025

Hi,

Just find time to check your log, looks like game is not using any negative bias values at all. Could you try setting MipmapBiasOverrideAll=true to force override all lod bias values.

@aufkrawall
Copy link
Author

Yeah, the game doesn't adjust mip bias with DLSS and indeed the displayed mip bias value in OptiScaler's OSD doesn't change without MipmapBiasOverrideAll=true . However, I already did that, which is why in the screenshot above, it reports Current: 5.0 / 5.0 . :)

@cdozdil
Copy link
Owner

cdozdil commented Mar 17, 2025

However, I already did that, which is why in the screenshot above, it reports Current: 5.0 / 5.0 . :)

Ah log is from OverrideAll=true?

@aufkrawall
Copy link
Author

Ah log is from OverrideAll=true?

Yep.

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