MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

Buchi
MAME Fan
Reged: 01/07/15
Posts: 11
Send PM


HLSL effect request (sharp image, scanlines only)
#335925 - 01/11/15 04:18 AM


I finally got hlsl to work and I've tried several settings from other users around the web and I also played around to see what I like most. Unfortunately I seem to be not the right guy for these things so I have to make a request...

I only want some scanlines that will look nice on an 800 x 600 resolution. As I've said I already tried some settings from other users but they tent to go a little overboard imo. I like a crisp picture with "normal" colors/saturation, no curve and so on.

Maybe some of you guys are willing to help a little? When I try it my image always looks washed out, oversaturated or just blurry..



Traso
MAME Fan
Reged: 01/15/13
Posts: 2687
Send PM


Re: HLSL effect request (sharp image, scanlines only) new [Re: Buchi]
#335977 - 01/12/15 09:49 AM


Set everything to stock values. It's still going to look like ass. You'll be much better off using the Scanlines.png. But I don't even use that on horizontal games. It's nice on 224x288 games displayed on a horizontal monitor, although the effect is better on my .70 dot pitch 27" (tube) monitor when set to 800x600. Oh, and the file has been rotated.

Wait, what kind of monitor are you using?



Scifi frauds. SF illuminates.
_________________

Culture General Contact Unit (Eccentric)



Buchi
MAME Fan
Reged: 01/07/15
Posts: 11
Send PM


Re: HLSL effect request (sharp image, scanlines only) new [Re: Traso]
#335981 - 01/12/15 02:02 PM


Regular TFT, native resolution 1280x1024 but set to 800 x 600 to improve performance. The old "scanlines" effect doesn't look good..



lamprey
MAME Fan
Reged: 12/01/11
Posts: 238
Send PM


Re: HLSL effect request (sharp image, scanlines only) new [Re: Buchi]
#335989 - 01/12/15 07:02 PM


Make sure you have the shadow_mask_alpha set to 0 and the scanline_alpha set to 1.0.

Also, try adjusting the scanline_size and scanline_height (aka scanline screen height and scanline individual height in the UI).

If you are using the default HLSL settings you may want to turn down/off the raster_bloom_scale. I think I have mine set to 0.1 for reference.

Also, I'm not sure why you are not using your monitors native resolution. Can you video card not handle 1280x1024? I'd think any card that can handle HLSL can do that resolution, but maybe not. Assuming the image is getting scaled to that resolution anyway, it's possible that what ever is doing the scaling is introducing artifacts that are affecting the look of the scanlines...?

Cheers!



Traso
MAME Fan
Reged: 01/15/13
Posts: 2687
Send PM


Re: HLSL effect... (edited) new [Re: lamprey]
#336012 - 01/13/15 09:33 AM


> Also, I'm not sure why you are not using your monitors native resolution. Can youvideo card not handle 1280x1024? I'd think any card that can handle HLSL can do that resolution, but maybe not.


Yeap, that's what he said. The higher the resolution, the higher the GPU load. That card should be plenty powerful for 1280x1024, though. My X800 isn't that slow at that resolution. Also, he could overclock it......



Scifi frauds. SF illuminates.
_________________

Culture General Contact Unit (Eccentric)



MooglyGuy
Renegade MAME Dev
Reged: 09/01/05
Posts: 2261
Send PM


Re: HLSL effect... (edited) new [Re: Traso]
#336032 - 01/14/15 12:15 AM


> > Also, I'm not sure why you are not using your monitors native resolution. Can
> > youvideo card not handle 1280x1024? I'd think any card that can handle HLSL can do
> > that resolution, but maybe not.
>
> Yeap, that's what he said. The higher the resolution, the higher the GPU load. That
> card should be plenty powerful for 1280x1024, though. My X800 isn't that slow at that
> resolution. Also, he could overclock it......

Honestly, anything pre-dating the Radeon HD series should be assumed to have absolutely piss-poor performance when using HLSL. If the damn thing can't even manage over 800x600, there's no helping this guy. The hardware upscaling that the monitor does will destroy any definition that the scanlines might otherwise have had, and that's not even factoring in the fact that scaling 800x600 to 1280x1024 is going to fuck up the aspect ratio.



Buchi
MAME Fan
Reged: 01/07/15
Posts: 11
Send PM


Re: HLSL effect... (edited) new [Re: MooglyGuy]
#336034 - 01/14/15 01:49 AM


>
> Honestly, anything pre-dating the Radeon HD series should be assumed to have
> absolutely piss-poor performance when using HLSL. If the damn thing can't even manage
> over 800x600, there's no helping this guy. The hardware upscaling that the monitor
> does will destroy any definition that the scanlines might otherwise have had, and
> that's not even factoring in the fact that scaling 800x600 to 1280x1024 is going to
> fuck up the aspect ratio.

I think you guys got something wrong here. My card can handle the native resolution pretty well. I just don't see the use of it since most games used to run on much lower resolutions. I'd rather save on that extra cpu load and blow some more on hlsl or a nice looking frontend.

At this point I can run most settings from around the web fine. No issues. I was just asking for a nice - scanline- only effect. The old way to produce scanlines by using the scanlines.png just looks bad on my screen. Upping the resolution doesn't change that either.


No reason to "pony up" since the hardware is used in my cabinet. I have a capable gaming pc, but I don't see any reason to put a better one in my cabinet (keeping it low cost at around 100€ total)

The question was, is someone capable willing to help me get a scanline only effect with hlsl that will look good no matter the resolution?

@ lamprey
thanks I'll try the advice with "raster_bloom" tomorrow.



Traso
MAME Fan
Reged: 01/15/13
Posts: 2687
Send PM


Re: HLSL effect... (edited) new [Re: Buchi]
#336043 - 01/14/15 08:43 AM


> No reason to "pony up"...

Yeah, that's why I changed that bit.


> I think you guys got something wrong here. My card can handle the native resolution pretty well. I just don't see the use of it since most games used to run on much lower resolutions. I'd rather save on that extra cpu load and blow some more on hlsl or a nice looking frontend.


..........I'm gonna beat your ass. Just do what we say.



Scifi frauds. SF illuminates.
_________________

Culture General Contact Unit (Eccentric)



lamprey
MAME Fan
Reged: 12/01/11
Posts: 238
Send PM


Re: HLSL effect... (edited) new [Re: Traso]
#336059 - 01/14/15 06:57 PM


> ..........I'm gonna beat your ass.


Pics?



Buchi
MAME Fan
Reged: 01/07/15
Posts: 11
Send PM


Re: HLSL effect... (edited) new [Re: Traso]
#336067 - 01/14/15 11:55 PM


1280 x 1024 with "Scanline TV" effect



800 x 600 with "Scanline TV" effect



There you have it. It looks like shit on both resolutions.



lamprey
MAME Fan
Reged: 12/01/11
Posts: 238
Send PM


Re: HLSL effect... (edited) new [Re: Buchi]
#336068 - 01/15/15 12:39 AM


Can you post your HLSL settings? Also, what version of Mame are you using?

And, assuming you are using windows, can you verify that your desktop resolution is the same as your monitor's native resolution.

I'm not sure I'm going to be home tonight, actually going to play real arcade games and drink beer. But, if I have a hot minute, I can post some settings that are working for me.



Buchi
MAME Fan
Reged: 01/07/15
Posts: 11
Send PM


Re: HLSL effect... (edited) new [Re: lamprey]
#336070 - 01/15/15 12:58 AM


> Can you post your HLSL settings? Also, what version of Mame are you using?
>
> And, assuming you are using windows, can you verify that your desktop resolution is
> the same as your monitor's native resolution.
>
> I'm not sure I'm going to be home tonight, actually going to play real arcade games
> and drink beer. But, if I have a hot minute, I can post some settings that are
> working for me.

Yes running on windows xp. I don't use the explorer.shell (desktop) but as you can see I've tested both resolutions, the high resolution being the native one.

Well the effect I've shown weren't done with hlsl because another user was suggesting using the regular old scanline.png effect.

I'm running the latest version of MAME Plus (155b I think)

Thank you very much and have fun at the arcade.



Traso
MAME Fan
Reged: 01/15/13
Posts: 2687
Send PM


Re: HLSL effect... (edited) new [Re: Buchi]
#336075 - 01/15/15 05:26 AM


> Well the effect I've shown weren't done with hlsl because another user was suggesting using the regular old scanline.png effect.


-throws arms up Pink Panther style- I'm beating your ass! I was about to say they looked the same, and to check whether you had the png effect OFF....and then I read again, and noticed you sayd 'Scanlines TV' effect.....and then I read your next. Dude, do what we say.



Scifi frauds. SF illuminates.
_________________

Culture General Contact Unit (Eccentric)



Buchi
MAME Fan
Reged: 01/07/15
Posts: 11
Send PM


Re: HLSL effect... (edited) new [Re: Traso]
#336099 - 01/15/15 04:21 PM



>
> -throws arms up Pink Panther style- I'm beating your ass! I was about to say they
> looked the same, and to check whether you had the png effect OFF....and then I read
> again, and noticed you sayd 'Scanlines TV' effect.....and then I read your next.
> Dude, do what we say.

Do exactly what? You told me to run the scanline effect (not hlsl) in my native resolution. I did it and it looks like shit. I told you that I want to use hlsl, because I've seen other users having great success with it. My issue with hlsl is that it looks blurry and messes up colors by default,no matter the resolution.



lamprey
MAME Fan
Reged: 12/01/11
Posts: 238
Send PM


Re: HLSL effect... (edited) new [Re: Buchi]
#336117 - 01/16/15 03:09 AM


Buchi,

Assuming you have the base-line mame and have already created the mame.ini file, here are some settings to get you goin for HLSL. Youll need to tweak them to your liking:


Code:

#
# DIRECT3D POST-PROCESSING OPTIONS
#
hlsl_enable 1
hlslpath hlsl
hlsl_prescale_x 0
hlsl_prescale_y 0
hlsl_preset -1
hlsl_write
hlsl_snap_width 2048
hlsl_snap_height 1536
shadow_mask_alpha 0.0
shadow_mask_texture aperture.png
shadow_mask_x_count 320
shadow_mask_y_count 240
shadow_mask_usize 0.09375
shadow_mask_vsize 0.109375
curvature 0.03
pincushion 0.03
scanline_alpha 1.0
scanline_size 1.0
scanline_height 1.0
scanline_bright_scale 1.0
scanline_bright_offset 0.0
scanline_jitter 0.0
defocus 0.0,0.0
converge_x 0.0,0.0,0.0
converge_y 0.0,0.0,0.0
radial_converge_x 0.0,0.0,0.0
radial_converge_y 0.0,0.0,0.0
red_ratio 1.0,0.0,0.0
grn_ratio 0.0,1.0,0.0
blu_ratio 0.0,0.0,1.0
saturation 1.15
offset 0.0,0.0,0.0
scale 0.95,0.95,0.95
power 0.8,0.8,0.8
floor 0.01,0.01,0.01
phosphor_life 0.0,0.0,0.0



I think the scanline_alpha can only be set to max of 1.0 in the MAME UI (tab -> Slider Controls), but if you set it in the mame.ini file you can set it higher. If you want a more pronounced scanline, try 2.0 instead of 1.0.

Also, If you plan on using a shadow mask, I'd suggest getting a modified post.fx file that "sets" the shadow mask U and V size for you. Here is a link to that:
http://www47.zippyshare.com/v/95165141/file.html

Here is a link to the Shmups forum discussing HLSL:
http://shmups.system11.org/viewtopic.php?f=6&t=45026


Hopefully, this will get you going!



lamprey
MAME Fan
Reged: 12/01/11
Posts: 238
Send PM


Re: HLSL effect... (edited) new [Re: lamprey]
#336118 - 01/16/15 03:16 AM


Forgot to add, here is a link to some more info on that modified post.fx file:

http://www.aep-emu.de/PNphpBB2-file-viewtopic-t-18991.html

It's in German, so you may need to translate it.



Sune
Connected
Reged: 09/21/03
Posts: 5648
Loc: Lagoa Santa, Brasil
Send PM


Re: HLSL effect... (edited) new [Re: Buchi]
#336121 - 01/16/15 06:30 AM


> I think you guys got something wrong here. My card can handle the native resolution
> pretty well. I just don't see the use of it since most games used to run on much
> lower resolutions.

No, you're wrong and you're either trolling or misinformed. The higher your resolution, the better quality HLSL effects you can have.

Running a 1280xwhatever display at 800x600 causes blur due to upscaling, it will make everything look worse.

S



Buchi
MAME Fan
Reged: 01/07/15
Posts: 11
Send PM


Re: HLSL effect... (edited) new [Re: lamprey]
#336125 - 01/16/15 02:51 PM


> Forgot to add, here is a link to some more info on that modified post.fx file:
>
> http://www.aep-emu.de/PNphpBB2-file-viewtopic-t-18991.html
>
> It's in German, so you may need to translate it.

Thank you very much! I'm a native german speaker so it shouldn't be an issue for me



Traso
MAME Fan
Reged: 01/15/13
Posts: 2687
Send PM


Re: HLSL effect... (edited) new [Re: Buchi]
#336129 - 01/16/15 09:33 PM


No, man, I said run at your native res, AND use the stock settings (of HLSL). That will give you basic scanlines. The color thing is probably too high raster bloom; I think the default is still.....High......I set mine to zero. Whatever you do, post pictures when you've done it.



Scifi frauds. SF illuminates.
_________________

Culture General Contact Unit (Eccentric)


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 144 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3481