Found out why MAME's HLSL always looked like shit

A place where you can chat about anything that isn't to do with games!
Post Reply
bulbousbeard
Posts: 110
Joined: Sun Nov 03, 2013 5:17 pm

Found out why MAME's HLSL always looked like shit

Post by bulbousbeard »

Open your prescale.fx.

Find this:

Texture = <Diffuse>;
MipFilter = LINEAR;
MinFilter = LINEAR;
MagFilter = LINEAR;

That's why MAME's HLSL always looked like blurry shit. It's using blurry, crappy linear filtering on everything. I'm not sure if the HLSL author actually realized that arcade monitors are crisp and sharp and don't look like N64 games, but here we are. Settings like defocus are USELESS when you're STARTING from N64 textures.

To fix it, all you have to do is change it to this:

Texture = <Diffuse>;
MipFilter = NONE;
MinFilter = NONE;
MagFilter = NONE;

Here's a comparison for you using the SAME settings. Standard prescale.fx with linear filtering:
http://i.imgur.com/cPDH6PU.jpg

After the tweak:
http://i.imgur.com/oQVazn4.jpg

Hi. It's actually sharp. Like a real arcade monitor. Yeah. Yeaaah!

There is no way HLSL could have EVER looked good with that prescale.fx. You're STARTING with shitty linear filtered graphics. You WANT to be able to tweak the defocus settings to make it slightly less sharp than a PC monitor. With linear filtering, you START with N64 filtering, and defocus only sends you into "gouge your eyes out" territory.

WOW this is fresh. I can actually use HLSL without wanting to vomit now.

Here are some more random shots:

http://i.imgur.com/PrQ3MTp.jpg
http://i.imgur.com/pG4oMoU.jpg
http://i.imgur.com/3fcItKP.jpg
http://i.imgur.com/lEDzFyh.jpg
http://i.imgur.com/B1VPyFe.jpg
http://i.imgur.com/wNlg83e.jpg
http://i.imgur.com/Rs67ZUr.jpg
http://i.imgur.com/bs7c6Ai.jpg
Last edited by bulbousbeard on Sun Nov 03, 2013 9:48 pm, edited 1 time in total.
User avatar
chempop
Posts: 3466
Joined: Sun Jul 31, 2005 7:44 am
Location: Western-MA USA

Re: Found out why MAME's HLSL always looked like shit

Post by chempop »

I'd rather play a port on my genesis or saturn.
"I've had quite a few pcbs of Fire Shark over time, and none of them cost me over £30 - so it won't break the bank by any standards." ~Malc
User avatar
Udderdude
Posts: 6293
Joined: Thu Feb 16, 2006 7:55 am
Location: Canada
Contact:

Re: Found out why MAME's HLSL always looked like shit

Post by Udderdude »

Nice tips, thanks.
User avatar
Domino
Posts: 1346
Joined: Sat Feb 16, 2008 11:35 pm
Location: Florida

Re: Found out why MAME's HLSL always looked like shit

Post by Domino »

I really think this needs to be posted on here:

http://shmups.system11.org/viewtopic.php?f=6&t=45026

This fix did fix my blurry graphics problem on the latest version of MAME. Now it looks just as good as ShmupMAME. :)
User avatar
heisenbergman
Posts: 411
Joined: Sun Sep 29, 2013 12:33 pm
Location: Philippines

Re: Found out why MAME's HLSL always looked like shit

Post by heisenbergman »

I'm already using shmupmame. Do I need this?
User avatar
Domino
Posts: 1346
Joined: Sat Feb 16, 2008 11:35 pm
Location: Florida

Re: Found out why MAME's HLSL always looked like shit

Post by Domino »

heisenbergman wrote:I'm already using shmupmame. Do I need this?
Only if you want to use the newer versions of MAME. Like the latest version of MAME the NMK games received a good improvement over the sprites priorities and also NMK's Rapid Hero has its music fixed.
Post Reply