• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › General Discussion v
« Previous 1 ... 318 319 320 321 322 ... 368 Next »

Super Mario Sunshine water sparkles effect
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Super Mario Sunshine water sparkles effect
04-10-2010, 10:48 AM
#1
Yoasakura
Unregistered
 
Super Mario Sunshine emulation on Dolphin is almost perfect, one of the few things I noticed were missing is the water sparkles from the ocean water.

Here's the screen from the game running on a real gamecube:
[Image: smsmipmaprealgcnshot.jpg]
You can see the effect in the background there, but here's how it looks like on dolphin:
http://img40.imageshack.us/img40/6509/smsmipmapdolphin.jpg

I found out that this effect is not showing up due to Dolphin not loading the original texture mipmaps, it's generating mipmaps automatically, and since this effect is a mipmap trick, nothing appears.
[Image: smsmipmapswater.png]
This is the texture ripped using BMDView2.

Then I decided to test the Load hi-res textures and switch the texture with one of the mipmaps, and here's what I got:
[Image: smsmipmaphirestex.jpg]
Mipmap level 1
[Image: smsmipmaphirestex2.jpg]
Mipmap level 2

You can try it out by enabling Load Hi-res textures,
Save this texture and rename it to "GMSE01_084f4417_0.png" (Without quotes of course)
And then, create a folder under User\Load\Textures, named GMSE01 (for US version) and place the image there.
[Image: gmse01084f44170.png]
This will only work for delfino plaza, because each level uses a different texture.

Of course this "hack" does not recreate the effect correctly, because the effect needs mipmaps, but it does make things a little bit closer to the original.
Reply
04-10-2010, 12:08 PM (This post was last modified: 04-10-2010, 12:10 PM by Runo.)
#2
Runo Offline
Greeny
*******
Posts: 1,194
Threads: 43
Joined: Mar 2009
Hmmm, very smart trick, I tried finding out why the mipmaps did not load correctly before, but I never realized that it was not trying to load them, like you did, probably because when I did this years some ago I had very litlle programing experience..... Big Grin Congrats, and thanks for tha info......
I couldnt even look in the source because it was not open source so a guess like that would be nearly impossible Big Grin LOL
OS: Windows 10 Pro 64bit Creators Update
CPU: AMD Phenom II X4 960 @ 3.6 GHz
Graphics Card: Nvidia GeForce GTX 960 2GB GDDR5
Motherboard: Gigabyte GA-870A-USB3 AM3+ Revision
RAM: HyperX 8GB Dual Channel @ 1600Mhz
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode