Search the Community
Showing results for tags 'Timothy Lotte'.
-
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:
-
Version CRT-14-05-2015
64 downloads
Hi Ladies and Gentlemen, since the version 0160 of MAME, OpenGL is supported inside of MAME. Basically the MAME devs, have integrated the graphics part of SDL MAME into the official build. What does this mean? It means we can now use Open GL based shaders, so we have opportunities to HLSL. I have uploaded here, two OpenGL shaders, one is based on Timothy Lotte and was converted to MAME by SoltanGris42 (Mameworld) . The other one is the CRT-geom shader of cgwg, Themaister and DOLLS. The conversion of the CRT-geom shader was done with the help of Hunter K. (Retroarch admin) and by myself. There are eight shader-files in this archive. The only difference is that the "VERT" versions are rotating the shadow masks by default. The idea here is that you use the VERT version in a "vertical.ini" so that it gets used for vertical oriented games only. Put the files of this zip into a folder of your choice (I recommend a OpenGL named folder inside your MAME installation). The following tutorial, is for people that would rather use their own MAME version (must be at least v0.160). The tutorial follows the usage of Timothy Lotte´s shader, but it works the same for CRT-geom. To activate a OpenGL shader, you need to change the following line of your mame.ini OSD VIDEO OPTIONS section : video opengl and put the path to the shader in this line of the # OpenGL-SPECIFIC OPTIONS and activate the shader by following line: gl_glsl 1gl_glsl_filter 1glsl_shader_mame0 put the path to the content of the zip-file here\Lottes_CRT this is just a example : gl_glsl 1gl_glsl_filter 1glsl_shader_mame0 D:\GAMESTATION\OpenGL_MAME_0159_64\glsl\Lottes_CRT Make a copy of your mame.ini and put it in the ini folder of your MAME installation, naming it vertical.ini In your copy, change the path setting to point at Lottes_CRT_VERT. this is just a example : glsl_shader_mame0 D:\GAMESTATION\OpenGL_MAME_0159_64\glsl\Lottes_CRT_VERT thats it.... try it and enjoy these awesome shaders . Comments, Support or Bugs can be found here: http://www.gameex.info/forums/topic/15915-new-opengl-shader-for-mame-0159/ Credits goes to Timothy Lottes (http://timothylottes.blogspot.de/2014/08/scanlines.html) and SoltanGris42 (Mameworld) for the Lotte shader work involved. Credits for the CRT-geom shader goes to cgwg, Themaister, DOLLS and Hunter K.- 2 comments
-
- OpenGL shaders
- CRT-geom
-
(and 2 more)
Tagged with: