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!
|