MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

SharkGrey
MAME Fan
Reged: 03/04/16
Posts: 19
Send PM


My HLSL Settings
#351078 - 03/05/16 03:32 AM Attachment: SF2_2.jpg 307 KB (5 downloads)


All,

Please take the time if you wish to try my HLSL settings. I'm new to HLSL and am trying to still understand all of it. Let me know what you think of these please. I've also attached a few more screen captures. Thanks!


#
# OSD ACCELERATED VIDEO OPTIONS
#
filter 1
prescale 1

# DIRECTDRAW-SPECIFIC OPTIONS
#
hwstretch 1

#
# DIRECT3D POST-PROCESSING OPTIONS
#
hlsl_enable 1
hlslpath hlsl
hlsl_prescale_x 0
hlsl_prescale_y 0
hlsl_write 0
hlsl_snap_width 1024
hlsl_snap_height 768
shadow_mask_tile_mode 0
shadow_mask_alpha 0.1
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
shadow_mask_uoffset 0.0
shadow_mask_voffset 0.0
curvature 0.2
round_corner 0.15
smooth_border 0.0
reflection 0.05
vignetting 0.24
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.05
hum_bar_alpha 0.0
defocus 0.0,0.0
converge_x 0.2,0.0,0.0
converge_y 0.0,0.0,0.0
radial_converge_x 0.2,0.0,0.0
radial_converge_y 0.0,0.0,0.0
red_ratio 0.85,0.15,0.0
grn_ratio -0.05,1.05,0.0
blu_ratio -0.025,-0.025,1.05
saturation 1.0
offset -0.15,-0.16,-0.16
scale 1.15,1.16,1.16
power 1.1,0.95,0.8
floor 0.0,0.0,0.0
phosphor_life 0.0,0.0,0.0

#
# NTSC POST-PROCESSING OPTIONS
#
yiq_enable 0
yiq_jitter 0.5
yiq_cc 3.57954545
yiq_a 0.5
yiq_b 0.5
yiq_o 0.0
yiq_p 1.0
yiq_n 1.0
yiq_y 6.0
yiq_i 1.2
yiq_q 0.6
yiq_scan_time 52.6
yiq_phase_count 2

#
# VECTOR POST-PROCESSING OPTIONS
#
vector_length_scale 0.8
vector_length_ratio 500.0

#
# BLOOM POST-PROCESSING OPTIONS
#
bloom_blend_mode 0
bloom_scale 0.3
bloom_overdrive 1.0,1.0,1.0
bloom_lvl0_weight 1.0
bloom_lvl1_weight 0.21
bloom_lvl2_weight 0.19
bloom_lvl3_weight 0.17
bloom_lvl4_weight 0.15
bloom_lvl5_weight 0.14
bloom_lvl6_weight 0.13
bloom_lvl7_weight 0.12
bloom_lvl8_weight 0.11
bloom_lvl9_weight 0.10
bloom_lvl10_weight 0.09

#
# FULL SCREEN OPTIONS
#
triplebuffer 0
full_screen_brightness 1.0
full_screen_contrast 1.0
full_screen_gamma 1.0

[ATTACHED IMAGE - CLICK FOR FULL SIZE]

Attachment



SharkGrey
MAME Fan
Reged: 03/04/16
Posts: 19
Send PM


Re: My HLSL Settings new [Re: SharkGrey]
#351079 - 03/05/16 03:33 AM Attachment: KidNiki3.jpg 179 KB (0 downloads)


Another example. Another Kid Niki

[ATTACHED IMAGE - CLICK FOR FULL SIZE]

Attachment



StilettoAdministrator
They're always after me Lucky ROMS!
Reged: 03/07/04
Posts: 6472
Send PM


Re: My HLSL Settings new [Re: SharkGrey]
#351080 - 03/05/16 03:49 AM


> All,
>
> Please take the time if you wish to try my HLSL settings. I'm new to HLSL and am
> trying to still understand all of it. Let me know what you think of these please.
> I've also attached a few more screen captures. Thanks!

Cool, try to keep it to one thread this time buddy!
Keep up the good work!

- Stiletto



Jezze
Reged: 03/14/05
Posts: 72
Send PM


Re: My HLSL Settings new [Re: SharkGrey]
#351112 - 03/05/16 11:32 AM


Your shadow mask settings don't make sense anymore. The x/y count works different since MAME 0.162.

With the u/v size you define the area of the shadow mask texture that will be tiled over the screen. And with x/y count you define how many pixel should be used on screen for this area.

You can read more about these settings here.

Correct settings for an aperture grill are e.g.:

Code:

shadow_mask_texture adapture-grill.png
shadow_mask_x_count 6
shadow_mask_y_count 6
shadow_mask_usize 0.1875
shadow_mask_vsize 0.1875



p.s. Why did nobody ever told me that I completely misspelled the name of the aperture grill texture?

p.p.s. I finally added some HLSL presets to my branch of the MAME GitHub repository.



B2K24
MAME @ 15 kHz Sony Trinitron CRT user
Reged: 10/25/10
Posts: 2663
Send PM


Re: My HLSL Settings new [Re: Jezze]
#351113 - 03/05/16 11:39 AM


> p.s. Why did nobody ever told me that I completely misspelled the name of the
> aperture grill texture?

We would've told you if we knew but we're using shadow-mask


> p.p.s. I finally added some HLSL presets to my branch of the MAME GitHub repository.

Thank You!



SharkGrey
MAME Fan
Reged: 03/04/16
Posts: 19
Send PM


Re: My HLSL Settings new [Re: Jezze]
#351169 - 03/06/16 03:58 AM


> Your shadow mask settings don't make sense anymore. The x/y count works different
> since MAME 0.162.
>
> With the u/v size you define the area of the shadow mask texture that will be tiled
> over the screen. And with x/y count you define how many pixel should be used on
> screen for this area.
>
> You can read more about these settings here.
>
> Correct settings for an aperture grill are e.g.:
> shadow_mask_texture adapture-grill.png
> shadow_mask_x_count 6
> shadow_mask_y_count 6
> shadow_mask_usize 0.1875
> shadow_mask_vsize 0.1875
>
> p.s. Why did nobody ever told me that I completely misspelled the name of the
> aperture grill texture?
>
> p.p.s. I finally added some HLSL presets to my branch of the MAME GitHub repository.


Thanks. I have the shadow mask settings for x and y at 3 since my system can't handle anything above a 3. Does it make that big a difference?



Dullaron
Diablo III - Dunard #1884
Reged: 07/22/05
Posts: 6125
Loc: Fort Worth, Tx
Send PM


Re: My HLSL Settings new [Re: Jezze]
#351178 - 03/06/16 07:15 AM


> p.p.s. I finally added some HLSL presets to my branch of the MAME GitHub repository.

Bookmarked. Thanks.



W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB



B2K24
MAME @ 15 kHz Sony Trinitron CRT user
Reged: 10/25/10
Posts: 2663
Send PM


Re: My HLSL Settings new [Re: Jezze]
#351187 - 03/06/16 12:13 PM


Settings I'm really enjoying right now. Key seems to be getting the right balance between SCREEN brightness, contrast, and gamma depending on game or machine.

Thanks Jezze


Quote:


hlsl_enable 1
hlslpath hlsl
hlsl_prescale_x 6
hlsl_prescale_y 6
hlsl_write
hlsl_snap_width 2048
hlsl_snap_height 1536
shadow_mask_tile_mode 0
shadow_mask_alpha 0.35
shadow_mask_texture shadow-mask.png
shadow_mask_x_count 6
shadow_mask_y_count 4
shadow_mask_usize 0.1875
shadow_mask_vsize 0.25
shadow_mask_uoffset 0.0
shadow_mask_voffset 0.0
curvature 0.2
round_corner 0.15
smooth_border 0.06
reflection 0.0
vignetting 0.2
scanline_alpha 0.7
scanline_size 1.0
scanline_height 1.0
scanline_bright_scale 1.4
scanline_bright_offset 0.0
scanline_jitter 0.05
hum_bar_alpha 0.0
defocus 0.5,0.5
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.00,0.00,0.00
grn_ratio -0.00,1.00,0.00
blu_ratio -0.00,0.00,1.00
saturation 1.0
offset -0.00,-0.00,-0.00
scale 1.00,1.00,1.00
power 1.00,1.00,1.00
floor 0.00,0.00,0.00
phosphor_life 0.4,0.4,0.4

#
# NTSC POST-PROCESSING OPTIONS
#
yiq_enable 0
yiq_jitter 0.0
yiq_cc 3.59754545
yiq_a 0.5
yiq_b 0.5
yiq_o 1.570796325
yiq_p 1.0
yiq_n 1.0
yiq_y 6.0
yiq_i 1.2
yiq_q 0.6
yiq_scan_time 52.6
yiq_phase_count 2

#
# VECTOR POST-PROCESSING OPTIONS
#
vector_length_scale 0.8
vector_length_ratio 4.0

#
# BLOOM POST-PROCESSING OPTIONS
#
bloom_blend_mode 0
bloom_scale 0.030
bloom_overdrive 0.25,0.25,0.25
bloom_lvl0_weight 1.00
bloom_lvl1_weight 0.64
bloom_lvl2_weight 0.32
bloom_lvl3_weight 0.16
bloom_lvl4_weight 0.08
bloom_lvl5_weight 0.04
bloom_lvl6_weight 0.04
bloom_lvl7_weight 0.02
bloom_lvl8_weight 0.02
bloom_lvl9_weight 0.01
bloom_lvl10_weight 0.01





CiroConsentino
Frontend freak!
Reged: 09/21/03
Posts: 6211
Loc: Alien from Terra Prime... and Brazil
Send PM


Re: My HLSL Settings new [Re: Jezze]
#351190 - 03/06/16 02:00 PM


Cool settings. Thank you for sharing.



Emu Loader
Ciro Alfredo Consentino
home: http://emuloader.mameworld.info
e-mail: [email protected]



Darkfalz
Lurker
Reged: 01/15/04
Posts: 17
Send PM


Re: My HLSL Settings new [Re: SharkGrey]
#351248 - 03/07/16 07:21 AM


I personally don't see why people use convergence. It does nothing for masking the low res image that the other stuff does. However slightly rounded corners and smoothed borders looks very nice.


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

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