Emulator Issues #4922
closedTMNT: Fog is not rendered properly in all scenes leading to unplayable sections
0%
Description
- Game Name and ID (as it appears in right click > properties: "GZ2P01",
"RSBE01", etc):
TMNT GYRE41
2) What is the expected output? What do you see instead?
Correct and consistant fog emulation. On some levels it's fine (rendered properly) but on other levels it makes the game unplayable.
3) Did the game ever work correctly (i.e. not have this problem) on an
earlier version of dolphin? Please specify the exact revision when the
problem began.
Probably always been an issue.
4) What steps will reproduce the problem?
- Launch game with fog enabled
- Observe title screen gfx (some buildings are solid green)
- Also, attempt to play level 6
5) What version of dolphin are you using (32bit/64bit along with the
version as it appears in the title bar: "R 4779", "R 6403M", "3.0", etc)?
On what operating system, drivers, and hardware? Be sure to list OS,
graphics driver information, and video card model if you are having
graphics problems, for example.
Dolphin 3.0 159, Win 7 x64, GF460gt w/latest drivers.
Screenshot:
http://imageshack.us/photo/my-images/207/unledlj.png/
Files
Updated by wespipes69 about 13 years ago
With Fog disabled:
http://imageshack.us/photo/my-images/402/unledclv.png/
Updated by tommyhl2.SS over 12 years ago
List the full name of the Turtle game, it's not just TMNT.
Updated by wespipes69 over 12 years ago
@tommy
What are you talking about? It's TMNT everywhere that I see. That's the full name of the game....you must be thinking of something else. What do you think it is?
@parlane
Here's ya go!
http://d01.megashares.com/dl/3zKaABL/tmnt.dff
Updated by tommyhl2.SS over 12 years ago
Confusion is that this is my TMNT game http://i.imgur.com/8sXE0.jpg which is not your TMNT game. The game ID should be enough but next time just add some more info if possible. There are like 10 TMNT games. :p
Updated by sktsqrl over 12 years ago
it is just TMNT http://www.gametdb.com/Wii/GYRE41
Updated by NeoBrainX over 12 years ago
Download link broken, please upload the dff file somewhere else where it doesn't get deleted after less than 3 months..
Updated by wespipes69 over 12 years ago
It's actual still there - you have to copy/paste the link into address bar. Doesn't work for some reason just clicking on it.
Anyway, I also put it on Mediafire here: http://www.mediafire.com/?mx7w110e1q5u8mw
Updated by NeoBrainX over 12 years ago
- Status changed from New to Work started
Most likely due to wrong magic numbers in fog calculation.
This game uses exp2-distributed fog intensity, so scaling the exponent by 8.f instead of e.g. 1.f is very noticeable. Using 1.f instead makes the fog look less extreme.
Guess I'll have to carry out some tests on real hw to find the optimal value.
Updated by Billiard26 almost 12 years ago
- Issue type set to Bug
- Category set to gfx
Updated by NeoBrainX almost 12 years ago
For reference, my previous comment was likely wrong. the scaling exponent does seem to be fine.
Updated by NeoBrainX over 11 years ago
- Status changed from Work started to Accepted
- Category changed from gfx to ppc
Likely not a GPU emulation bug.
The fog parameters are "infinity" and native dff player shows a similar issue.
Updated by NeoBrainX about 11 years ago
Please provide a save file for the game and steps to reproduce the issue with minimal effort and without assuming I've ever seen the game in action. I'm running the game at 10 FPS and really don't want to play through the first few levels just to see I've done something incorrectly.
Updated by wespipes69 about 11 years ago
https://skydrive.live.com/redir?resid=BB6DBB7514C6BD0F!356
Simply load up on save on this GC mem card, and select level 6.
Updated by NeoBrainX about 11 years ago
Reproduced the issue, happens even in Interpreter mode. Still not quite sure what to do about this :|
Updated by NeoBrainX about 11 years ago
The fog values are invalid. The fog strength is set to infinity, so it's no surprise that you can't see anything but green :p
Updated by NeoBrainX about 11 years ago
Revision c02ca4f1ece1 in the ppc_fp branch (non-IEEE mode emulation) seems to fix this issue. It seems like the branch also makes the game reboot when trying to load the memory card, but you still use state saves to get ingame and it'll render fine.
Updated by flacs about 11 years ago
- Status changed from Accepted to Fixed
- Operating system N/A added
The ppc_fp branch was merged into master: b863e40677710f2d53cae8aedfe450b4215562d3.
Updated by flacs almost 11 years ago
- Status changed from Fixed to Accepted
It's still broken in both Interpreter and Jit64 even though Star Fox works correctly now (issue 182).
Workaround: use "JITIL Recompiler"
Updated by JMC4789 over 10 years ago
JITIL isn't a work-around for this any longer, and I can't find a build where it was a work-around.
Updated by ZephyrSurfer about 10 years ago
Can we just clamp the fog to some arbitrary value? Maybe someone could make a hwtest to fix fog issues. Surely any clamped value is better than having full fog.
Is this that what breaks Legacy of Kain as well?
Updated by flacs about 10 years ago
Clamping fog would be a hack and there already is one that just disables fog completely.
Updated by ZephyrSurfer about 10 years ago
It hasn't been fixed since 2011, scratch that It's never worked.
I think clamping makes sense. Some audio issues were fixed by clamping it's volume.
This would be similar in clamping fog volume as it were.
It's got to be an improvement, right? yes
Updated by JMC4789 about 10 years ago
No. Clamping volume was the accurate behavior to console. Clamping fog doen't appear to be accurate at all.
Updated by seapancake over 8 years ago
- File GYRE41.dff GYRE41.dff added
- File GYRE41-1.png GYRE41-1.png added
- File GYRE41-4.png GYRE41-4.png added
- Tested in 4.0-9503
- First screenshot is from the first level, fog effects render correctly
- Loading level 6 from save entire screen is green, the building in the background of title screen has the same issue
- Occurs in 4.0.2 D3D/OGL and software, tweaked settings but made no difference
- FIFO log attached
Updated by JMC4789 almost 7 years ago
I know it's been a while... but...
Fixed in PR6348 - https://github.com/dolphin-emu/dolphin/pull/6348
Updated by JosJuice almost 7 years ago
- Status changed from Accepted to Fix pending
Updated by ZephyrSurfer almost 7 years ago
That PR has been merged: https://dolphin-emu.org/download/dev/4515f1d70df440df715e32863afec296b7f2e1d0/
Updated by JosJuice almost 7 years ago
- Status changed from Fix pending to Fixed
- Fixed in set to 5.0-6259