https://bugs.dolphin-emu.org/https://bugs.dolphin-emu.org/favicon.ico?12009-01-30T15:31:45ZDolphin bug trackerEmulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6644792009-01-30T15:31:45Zomegadoxomegadox@gmail.com
<ul></ul><p>The problem could be that the EFB is missing a blur effect.</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6644802009-01-31T20:16:03ZXTra.KrazzYXTra.KrazzY@gmail.com
<ul></ul><p>I could merge this to issue 300, but this somehow needs to be verified.</p>
<p>The LoZ series seems to use the EFB efficiently (As does Luigi's Mansion and SMS as<br>
we can see)</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6644812009-01-31T20:30:17ZXTra.KrazzYXTra.KrazzY@gmail.com
<ul></ul><p>I looked at some documentation and found that between the EFB and the XFB, with the<br>
exception of gamma correction and color value clamping, there is no filtering.</p>
<p>omegadox: You don't have to wait for donko to notice this, just Cc ;)</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6644822009-02-01T10:43:27Zekshenmanekshenman@gmail.com
<ul></ul><p>Maybe this is not this issue but...</p>
<p>I have problem with bubbles in Mario Party 4 in r2046 adn r2037:</p>
<p><a href="http://heroesworld.narod.ru/mario_part_4_2.JPG" class="external">http://heroesworld.narod.ru/mario_part_4_2.JPG</a></p>
<p>I will search when this issue happen...</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6644832009-02-01T10:52:54Zekshenmanekshenman@gmail.com
<ul></ul><p>This isuue inter r1842 and r1911.</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6644842009-02-01T11:14:51Zomegadoxomegadox@gmail.com
<ul></ul><p>Thanks XK, I forgot about Cc :P</p>
<p>@ ekshenman: This has nothing to do with the bubbles in MP4, those are just shaded<br>
textures. The Bubbles in SMS are drawn from the copied EFB and they use some sort of<br>
post-effect blur to mix the 4 colors in the bubble together.</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6644852009-02-01T11:36:57ZXTra.KrazzYXTra.KrazzY@gmail.com
<ul></ul><p>omegadox: Wow you really love this Cc thing :)</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6644862009-02-01T11:48:51Zomegadoxomegadox@gmail.com
<ul></ul><p>Solves all our problems ;D. Maybe it can somehow fix Dolphin for us ;P.</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6644872009-02-01T14:53:41Zekshenmanekshenman@gmail.com
<ul></ul><p>omegadox: yep. But in MP4 this is problem too:)</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6644882009-02-01T14:57:02Zomegadoxomegadox@gmail.com
<ul></ul><p>Play with safe cache option, but I got them to work ok for me, but issue is not for MP4.</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6644892009-02-20T03:45:06Zfederellifederelli@gmail.com
<ul></ul><p>Would it be fine if i opened an issue to fix the fact that you can't clean the goo?<br>
Anyone know what i mean? it makes the game hard to play.</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6644902009-04-07T14:05:49Zomegadoxomegadox@gmail.com
<ul></ul><p>There is a change that the game uses mipmapping tricks to do the blurring effect of<br>
the bubbles.</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6644922010-11-19T03:16:01Zskidau
<ul></ul><p>Issue 3430 has been merged into this issue.</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6644932010-12-09T20:11:49ZAnonymous
<ul></ul><p>Please respond if this issue is still valid, or it will be closed.</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6644942010-12-11T22:39:47ZWMRPokerWMRPoker@gmail.com
<ul></ul><p>afaik its still valid... was there a commit lately, that should have fixed it?</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6644952011-07-10T20:25:32ZAnonymous
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>New</i></li></ul><p>Ignore this...Status:GameIssue was removed, moving to New</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6644962011-12-12T16:47:44ZAutoran1Autoran1@yandex.ru
<ul></ul><p>These bubbles have IA8 format, and to me it looks like mirroring issue, before the mirroring was fixed i have the same looking icons in Wii Menu</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6644972011-12-13T14:49:45ZNeoBrainXNeoBrainX@gmail.com
<ul></ul><p>For reference, the bubbles don't have an IA8 format...</p>
<p>The bubbles are created using RGB5A3 EFB copies which can be proven by disabling those (the bubbles won't appear then). The EFB copies get reused as RGB5A3 textures lateron.</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6644982011-12-13T15:02:38ZNeoBrainXNeoBrainX@gmail.com
<ul></ul><p>Uhm, sorry I need to correct myself - they're actually RGB565 EFB copies which are used as RGB565 textures.<br>
Fwiw, the source EFB rectangle is 640x448 which is being scaled down to 320x224.</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6644992011-12-13T20:34:42ZWMRPokerWMRPoker@gmail.com
<ul></ul><p>So, is there a way fix the bubbles now, Neo?</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6645002011-12-13T23:46:10ZNeoBrainXNeoBrainX@gmail.com
<ul></ul><p>.. if I knew where the problem is, I would've said so.. ;P</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6645012011-12-20T08:21:03Znitsuja-nitsuja-@hotmail.com
<ul></ul><p>Here's my guess: The pixel shader used to render those bubbles is simply using the wrong texture coordinates for sampling from the copied EFB texture. The reason it looks like a checkerboard is that it's incorrectly sampling around the corner of the texture, so you're seeing colors from all 4 corners of the screen in the bubble. If the texture coordinates were correct, you would instead see colors coming from near where the bubble is onscreen.</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6645022011-12-20T15:30:17ZMofoMan2000MofoMan2000@gmail.com
<ul></ul><p>That's always possible but not entirely likely, I don't think. A texture coordinate of -1 might wrap around to the other side of the texture, but more often than not I find that kind of crap throws an error.</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6645032011-12-20T17:41:18Znitsuja-nitsuja-@hotmail.com
<ul></ul><p>I don't think texture wrapping can throw an error... the exact coordinates aren't known until the pixel shader runs, and pixel shaders don't have time to be checking and throwing errors like that. And it's quite possible that the sample mode is set to wrap instead of clamp in this case. You can easily verify that the 4 colors in the bubble are coming from the corners of the screen by moving the camera around while bubbles are visible.</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6645042011-12-21T03:27:56ZAnonymous
<ul></ul><p>i've not tried to move the camera around, is it coming from viewable area or not? perhaps it is meant to sample from an area of the framebuffer which is meant to be offscreen or not displayed at all. (many effects work like this already, so it's doubtful...)</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6645052011-12-21T10:23:10ZNeoBrainXNeoBrainX@gmail.com
<ul></ul><p>It's sampling the whole visible scene before the goop and HUD is getting drawn.</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6645062013-01-13T03:47:03ZBilliard26jordan.woyak@gmail.com
<ul><li><strong>Issue type</strong> set to <i>Bug</i></li><li><strong>Category</strong> set to <i>gfx</i></li></ul> Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6645072013-01-19T22:36:01ZAutoran1Autoran1@yandex.ru
<ul></ul><p>Tried the bubbles on software<br>
so here it is<br>
<a href="http://i5.minus.com/iZ4ivIaDE1qXL.jpg" class="external">http://i5.minus.com/iZ4ivIaDE1qXL.jpg</a><br>
Pretty invisible, but this is the way they're supposed to be </p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6645082013-02-16T08:07:21ZBilliard26jordan.woyak@gmail.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Accepted</i></li></ul><p>Fifo log demonstrating issue: <a href="http://ge.tt/8HX3CcY/v/0?c" class="external">http://ge.tt/8HX3CcY/v/0?c</a><br>
Like others said, it works with software renderer.</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6645102013-09-11T11:32:41ZNeoBrainXNeoBrainX@gmail.com
<ul></ul><p>For reference, the shader that is being used in OGL is <a href="http://pastie.org/private/jjt5qzj5odlcwdytanbva" class="external">http://pastie.org/private/jjt5qzj5odlcwdytanbva</a> . Most importantly, "tevcoord.xy = wrappedcoord + indtevtrans0;" is causing problems. If I force indtevtrans0 to zero, the bubbles show up fine. Given that the software renderer uses 24 bit values for the final texture coordinate, I guess this is once again a failure to properly emulate the bitness of intermediate values.</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6645112013-09-11T12:44:48ZNeoBrainXNeoBrainX@gmail.com
<ul><li><strong>Status</strong> changed from <i>Accepted</i> to <i>Work started</i></li></ul><p><a href="http://i1104.photobucket.com/albums/h325/no_cluez/dolphin-sms-bubbles_zps0f5788da.png" class="external">http://i1104.photobucket.com/albums/h325/no_cluez/dolphin-sms-bubbles_zps0f5788da.png</a></p>
<p>Will be fixed after 4.0.</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6645122013-12-09T11:33:32ZNeoBrainXNeoBrainX@gmail.com
<ul></ul><p>Fixed in tev_fixes_new.</p>
Emulator - Emulator Issues #540: Bubble effect in Super Mario Sunshinehttps://bugs.dolphin-emu.org/issues/540?journal_id=6645132014-03-14T22:22:36ZNeoBrainXNeoBrainX@gmail.com
<ul><li><strong>Status</strong> changed from <i>Work started</i> to <i>Fixed</i></li></ul><p>Fixed in commit a9a8c730748b (tev_fixes_new).</p>