Project

General

Profile

Emulator Issues #7114

Tomb Raider: Legend - Water Reflection Texture Bug in Hardware Backends

Added by MayImilae over 5 years ago. Updated almost 3 years ago.

Status:
Accepted
Priority:
Normal
Assignee:
-
Category:
GFX
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Tomb Raider: Legend (GL8E4F) has a very peculiar bug with its water. It appears as though a texture from the environment is rendered over it, filling the upper left quadrant then stretched for the rest. It even switches between several textures depending on your view.

https://wiki.dolphin-emu.org/images/6/61/Tomb_Raider_Legend_Water_Reflections.jpg

Tried EFB to Ram, single core, JITIL, on and on. However, the reflections work in software (though there are tons of other bugs in software that aren't in hardware). Oddly enough the fifolog didn't work in software, and I had to go there manually at a whopping 4fps, but it works.

Hardware - http://i.imgur.com/2r4dqoB.jpg
Software - http://i.imgur.com/1GEr01N.jpg

To reproduce, go to anyplace with reflective pools. There is one right at the beginning of the game. Load up the game, skip the cinematic, then climb up the hill a bit, and there's a pool you have to cross to proceed. That's it. Or just use the handy fifolog. However I had some problems with it in software...

Fifolog - http://www.mediafire.com/download/tnmw0lvx4jswub3/tomb_raider_legend_water_reflection_2_EFBtoRam_fifo.7z

Tested on revisions:
4.0-424 win64
4.0-1246 win64 neobrain tev combiner fixes (to make sure the new tev fixes didn't fix it, they don't)

Tested on system:
Core i5 3570k @ 4.7ghz
Nvidia Geforce GTX760
Windows 7 x64

History

#1 Updated by JMC4789 over 5 years ago

  • Status changed from New to Accepted

Confirmed a long time ago but I was too lazy to write it. Thanks <3

#2 Updated by MayImilae over 5 years ago

Rechecked the fifolog with software. Works if "Bypass XFB" is checked.

While I'm at it, the fifolog that is uploaded doesn't show the effect very well, because of it's angle. That's what I get for recording a fifolog while seeing the error. Here's another one that shows the effect better. It's kind of a refraction and reflection thing.

http://www.mediafire.com/download/jnj466r3jzp236u/tomb_raider_legend_water_reflection_1_EFBtoRam_fifo.7z

#3 Updated by Autoran1 about 4 years ago

Tested on recent master, and this issue is OGL only now, it was fixed on D3D somehow

#4 Updated by ZephyrSurfer almost 3 years ago

The game needs to disable "Store EFB copies to Texture Only" now.
Otherwise the floor is black.

Fixed since 5.0-492: https://dolphin-emu.org/download/dev/9a660fdf1847a276eb90aae8806a6245a51f0ac2/

#5 Updated by ZephyrSurfer almost 3 years ago

The floor works correctly on Single Core or with "Store EFB Copies to Texture Only".

Odd that there was a difference in behavior between backends.

Also available in: Atom PDF