Dasaav-dsv / libER

ELDEN RING API library with a focus on binary compatibility and safety
Other
40 stars 3 forks source link

LOD textures loaded even while close up in some locations. #41

Open Named-Blade opened 1 month ago

Named-Blade commented 1 month ago

In certain locations, the low level of detail textures seem to be mistakenly loaded instead of higher detail versions. This can be easily noticed in the entrance to Stormveil, in the walk from Margit's arena to the castle gate, as the textures of the ground switch to a much higher detail version while walking towards the castle, and also switch back to low detail versions when walking away. I don't know what could be causing this, but from my testing this always happens while libER is loaded.

Strackeror commented 1 month ago

Can confirm, having the same issue, and a couple screenshots to demonstrate. First screenshot is without my basic param editing mod (editing some speffect params, nothing related to lods I don't think), and second with. image 20240711190904_1

ppblitto commented 1 month ago

Same issue here. I've encountered the texture issues in the Stormveil area you mentioned as well as in the fist steps site of grace area, just at the beginning of the game:

Texture Error 1 Texture Error 2

CoffeeSorcerer69 commented 1 month ago

Just gonna add to this, but I think I was the first person to find this issue. And the most prevalent areas that this occurs, is newly loaded areas after Lib has been installed. But any area loaded before libs installation will load as normal.

Named-Blade commented 1 month ago

This appears to have something to do with the allocator. if I edit out the allocator replacement in source/memory/from_allocator.cpp, the textures load normally.

cakuyandovahkun commented 1 month ago

This appears to have something to do with the allocator. if I edit out the allocator replacement in source/memory/from_allocator.cpp, the textures load normally.

could you please upload the liber.dll that has the allocator edited out? thank you

Named-Blade commented 1 month ago

This appears to have something to do with the allocator. if I edit out the allocator replacement in source/memory/from_allocator.cpp, the textures load normally.

could you please upload the liber.dll that has the allocator edited out? thank you

ok, you can download it here: https://github.com/Named-Blade/libER/releases