mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
Fixed fog, lava, water in Mario Galaxy (and possibly other games) in higher IRs by detecting & fixing the mipmaps that aren't just used for downscaling, but are handmade to create a gradient.
This commit is contained in:
parent
802fda26ab
commit
5fb6ceac45
9 changed files with 204 additions and 30 deletions
|
@ -299,7 +299,7 @@ ID3D11SamplerState* StateCache::Get(SamplerState state)
|
|||
sampdc.AddressV = address_modes[static_cast<u32>(state.wrap_v.Value())];
|
||||
sampdc.MaxLOD = state.max_lod / 16.f;
|
||||
sampdc.MinLOD = state.min_lod / 16.f;
|
||||
sampdc.MipLODBias = (s32)state.lod_bias / 32.0f;
|
||||
sampdc.MipLODBias = (s32)state.lod_bias / 256.f;
|
||||
|
||||
if (state.anisotropic_filtering)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue