Emulator Issues #9464
Sexy Poker - Texture Seams on Opponents
Sexy Poker - WHPEGL
What's the problem? Describe what went wrong.
On the characters, there are little seams between where the animations should be on mouths and other body parts. It's similar to Fire Emblem, but, unlike those games no settings seem to fix it.
What steps will reproduce the problem?
Have a distinct lack of self-respect to be found in possession of this game.
Which versions of Dolphin did you test on? Does using an older version of Dolphin solve your issue? If yes, which versions of Dolphin used to work?
What are your PC specifications? (CPU, GPU, Operating System, more)
Core i5 3570K, GTX 760, Windows 10
Is there any other relevant information? (e.g. logs, screenshots,
The screenshots from this game may not be suitable for children.
#10 Updated by iwubcode about 3 years ago
Is this still broken
I tested some fifologs (with a build from the past few days) and they still exhibit this issue. When I looked into it last year, it seemed like it was a texture issue where maybe our UVs were wrong.
#13 Updated by ZephyrSurfer 2 months ago
When I render the fifolog the line is in a different position than the included images ie. CroppedMouth.
However I tracked it down to the following version.
Broken by 4.0-1474 -> https://dolphin-emu.org/download/dev/25f5598e31d5ce5dca8d1b03888a9205b616280e/
#14 Updated by ZephyrSurfer about 1 month ago
- File 14002_crop.PNG 14002_crop.PNG added
- File sp_14002_sw_1IR.PNG sp_14002_sw_1IR.PNG added
- File sp_14002_hw_8IR.PNG sp_14002_hw_8IR.PNG added
- File sp_14002_hw_1IR.PNG sp_14002_hw_1IR.PNG added
When I render this the issue is on the perimeter of Object 1.
I can't repro the lines around the mouth.
By only selecting to display object 1 and using paint bucket and having a 1 pixel border in red I can display what the issue is a little clearer, I hope.
I have been messing around with this and the texture seam width seems to be proportional to the pixel center correction value. Normally it is set to 1/12 or 0.083 (https://bugs.dolphin-emu.org/issues/267#note-43) but lowering it shrinks the seams. At 0.03 they were almost gone and at 0.02 I couldn't see any seams. This also worked with this issue: https://bugs.dolphin-emu.org/issues/12426. It did create new lines in vp6 video's but those were fixed by https://github.com/dolphin-emu/dolphin/pull/9520 (which I think is mostly correct). Ultimately, the difference between realistic correction values and the values I tried is way too big to make sense. So it seems a single hard coded value isn't sufficient.
#18 Updated by ZephyrSurfer 23 days ago
Having had a look at the texture seams issues I would advise to look at https://bugs.dolphin-emu.org/issues/10401 instead.
You can see there that there is colour in those seams of texture information of a neighboring sprite (lots of sprites in one file), so I think the fifolog supplied there is a much better place to look into the issue. I also looked at previous revisions of dolphin if they've affected the issue and I think they have 7a1744575d7569dd52739836685b6e6643ace61a (3.0-499) and lots of commits around that time affect the seam issues so I think it's in the ballpark of what the issue is.
I think that issue is texture related and not vertex related. The changes that fixed these seams and these: https://bugs.dolphin-emu.org/issues/12426 didn't do anything to that issue. Also the software renderer doesn't have seams in sexy poker and sin and punishment while it does have the same problem in CNT. I tried changing the texture offset which changed the size of the seam CNT but caused other issues so I'm pretty sure that is not the way.