Search the Community
Showing results for tags 'OpenGL shader'.
-
Hello Ladies and Gentlemen, as a view might know, MAME supports OpenGL now, that means we can use OpenGL shaders (similar to HLSL) now in MAME. There are at least two OpenGL shaders ready for pure fun out now: The Timothy Lotte shader and the CRT-geom shader. Lotte´s version for highend-rigs and CRT-geom for lowend-rigs, so there is a solution for nearly everyone. You can download both shaders here in the download-section or you can just install the latest version of MAMEUIFX v0.161, which also contains the latest upcoming huge improvements of HLSL, done by the awesome dude Jezze. So if you cant wait untill the official release of v0.162, you have the opportunity to check the NEW HLSL right now. Also MAMEUIFX has a wonderful and easy to use GUI, for the faint hearted fellows outthere and is my recommendation for everyone who want it the easy way. In the download section is also a basic tutorial, how to install and use the OpenGL shaders. A brief instruction how to use the CRT-geom shader, can be found in this thread. Nice looking "default" HLSL presets with the new HLSL, will also be posted here: Jezze´s prefered HLSL settings: ## CORE SCREEN OPTIONS#brightness 1.00contrast 1.00gamma 1.00## DIRECT3D POST-PROCESSING OPTIONS#hlsl_enable 1hlslpath hlslhlsl_prescale_x 8hlsl_prescale_y 8hlsl_preset -1hlsl_write hlsl_snap_width 3200hlsl_snap_height 1800shadow_mask_alpha 0.5shadow_mask_texture shadow-mask.pngshadow_mask_x_count 6shadow_mask_y_count 4shadow_mask_usize 0.1875shadow_mask_vsize 0.25shadow_mask_uoffset 0.0shadow_mask_voffset 0.0curvature 0.0round_corner 0.0reflection 0.25vignetting 0.25scanline_alpha 0.75scanline_size 1.0scanline_height 1.0scanline_bright_scale 2.0scanline_bright_offset 0.0scanline_jitter 0.0defocus 1.0,0.0converge_x 0.0,0.0,0.0converge_y 0.0,0.0,0.0radial_converge_x 0.0,0.0,0.0radial_converge_y 0.0,0.0,0.0red_ratio 1.05,0.00,0.10grn_ratio -0.10,1.00,0.25blu_ratio -0.25,0.25,1.25saturation 1.25offset -0.30,-0.20,-0.05scale 1.15,1.05,0.90power 0.90,0.90,1.15floor 0.05,0.05,0.05phosphor_life 0.5,0.5,0.5## BLOOM POST-PROCESSING OPTIONS#vector_bloom_scale 0.50raster_bloom_scale 0.50bloom_lvl0_weight 1.00bloom_lvl1_weight 0.64bloom_lvl2_weight 0.32bloom_lvl3_weight 0.16bloom_lvl4_weight 0.08bloom_lvl5_weight 0.04bloom_lvl6_weight 0.04bloom_lvl7_weight 0.02bloom_lvl8_weight 0.02bloom_lvl9_weight 0.01bloom_lvl10_weight 0.01 My own HLSL settings: ## CORE SCREEN OPTIONS#brightness 1.00contrast 1.00gamma 1.00## DIRECT3D POST-PROCESSING OPTIONS#hlsl_enable 1hlslpath hlslhlsl_prescale_x 5hlsl_prescale_y 5hlsl_preset -1hlsl_write hlsl_snap_width 1920hlsl_snap_height 1080shadow_mask_alpha 0.35shadow_mask_texture ShadowMask.pngshadow_mask_x_count 6shadow_mask_y_count 4shadow_mask_usize 0.1875shadow_mask_vsize 0.25shadow_mask_uoffset 0.0shadow_mask_voffset 0.0curvature 0.10round_corner 0.18reflection 0.10vignetting 0.20scanline_alpha 0.45scanline_size 1.0scanline_height 1.0scanline_bright_scale 1.0scanline_bright_offset 0.0scanline_jitter 0.05defocus 1.0,0.5converge_x 0.0,0.0,0.0converge_y 0.0,0.0,0.0radial_converge_x 0.0,0.0,0.0radial_converge_y 0.0,0.0,0.0red_ratio 1.05,0.00,0.10grn_ratio -0.10,1.00,0.25blu_ratio -0.25,0.25,1.25saturation 1.25offset -0.30,-0.20,-0.05scale 1.15,1.05,0.90power 0.90,0.90,1.15floor 0.02,0.02,0.02phosphor_life 0.4,0.4,0.4## NTSC POST-PROCESSING OPTIONS#yiq_enable 0yiq_cc 3.59754545yiq_a 0.5yiq_b 0.5yiq_o 1.570796325yiq_p 1.0yiq_n 1.0yiq_y 6.0yiq_i 1.2yiq_q 0.6yiq_scan_time 52.6yiq_phase_count 2## VECTOR POST-PROCESSING OPTIONS#vector_length_scale 0.8vector_length_ratio 40.0## BLOOM POST-PROCESSING OPTIONS#vector_bloom_scale 0.3raster_bloom_scale 0.45bloom_lvl0_weight 1.00bloom_lvl1_weight 0.64bloom_lvl2_weight 0.32bloom_lvl3_weight 0.16bloom_lvl4_weight 0.08bloom_lvl5_weight 0.04bloom_lvl6_weight 0.04bloom_lvl7_weight 0.02bloom_lvl8_weight 0.02bloom_lvl9_weight 0.01bloom_lvl10_weight 0.01 and finally some vector-games based HLSL settings which create a nice glow, also done by Jezze: ## BLOOM POST-PROCESSING OPTIONS#vector_bloom_scale 1.00bloom_lvl0_weight 1.00bloom_lvl1_weight 0.16bloom_lvl2_weight 0.24bloom_lvl3_weight 0.32bloom_lvl4_weight 0.48bloom_lvl5_weight 0.00bloom_lvl6_weight 0.96bloom_lvl7_weight 0.72bloom_lvl8_weight 0.48bloom_lvl9_weight 0.24bloom_lvl10_weight 0.12 Please note, that you often will need to set the vector settings on a per game basis, as some vector parameters are really depending on the vector-game played. This is especially true for the vector_length_scale and the vector_length_ratio. Feel free to experiment and to share your settings with us here . cheers u-man
- 38 replies
-
- 2
-
- OpenGL shader
- Jezze´s HLSL shader
-
(and 2 more)
Tagged with: