yuzu icon indicating copy to clipboard operation
yuzu copied to clipboard

video_core: Modify astc texture decode error fill value

Open vonchenplus opened this issue 1 year ago • 1 comments

The moon of LIVE A LIVE is a 9-layer astc texture, but the data to be decoded is very strange, only the first two layers are normal, from the third layer onwards all are 0. I have not found the essential cause of this problem so far.

The current solution is to modify the fill value when an error occurs to prevent the wrong texture from being mixed in when sampling.

Before: image

After: image

vonchenplus avatar Sep 15 '22 09:09 vonchenplus

This happens because UE4 games actually render the mipmaps on the go. Our Texture cache, fails to do the conversion.

FernandoS27 avatar Sep 17 '22 11:09 FernandoS27

Is this an actual solution, or is it just a happy accident?

theboy181 avatar Oct 01 '22 18:10 theboy181

Is this an actual solution, or is it just a happy accident?

just a happy accident, still need to look into it.

vonchenplus avatar Oct 02 '22 01:10 vonchenplus