Difference between revisions of "File:Cpc hlsl shader mess detail.png"

From CPCWiki - THE Amstrad CPC encyclopedia!
Jump to: navigation, search
(HLSL "1980s" CRT shader in MESS)
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
HLSL "1980s" CRT shader in MESS
 
HLSL "1980s" CRT shader in MESS
 +
 +
==mame.ini==
 +
<pre>
 +
skip_gameinfo 1
 +
 +
# from http://shmups.system11.org/viewtopic.php?f=6&t=45026&start=240
 +
# DIRECT3D POST-PROCESSING OPTIONS
 +
#
 +
hlsl_enable              1
 +
hlslpath                  hlsl
 +
hlsl_ini_read            0
 +
hlsl_ini_write            0
 +
hlslini                  %g
 +
hlsl_prescale_x          0
 +
hlsl_prescale_y          0
 +
hlsl_preset              -1
 +
hlsl_write               
 +
hlsl_snap_width          1024
 +
hlsl_snap_height          768
 +
shadow_mask_alpha        0.15
 +
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.0
 +
pincushion                0.02
 +
scanline_alpha            1.0
 +
scanline_size            1.0
 +
scanline_height          1.0
 +
scanline_bright_scale    1.7
 +
scanline_bright_offset    0.0
 +
scanline_jitter          0.05
 +
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.1,1.1,0.0
 +
blu_ratio                -0.075,0.0,1.075
 +
saturation                1.0
 +
offset                    -0.15,-0.18,-0.18
 +
scale                    1.15,1.18,1.18
 +
power                    1.1,0.9,0.7
 +
floor                    0.01,0.0,0.01
 +
phosphor_life            0.0,0.0,0.0
 +
waitvsync                1
 +
raster_bloom_scale        0.1
 +
triplebuffer              1
 +
 +
# '86:
 +
red_ratio                0.925,0.075,0.0
 +
grn_ratio                -0.1,1.1,0.0
 +
blu_ratio                -0.075,0.0,1.075
 +
offset                    -0.4,-0.42,-0.45
 +
scale                    1.4,1.42,1.45
 +
power                    0.9,0.75,0.6
 +
 +
# '91:
 +
#red_ratio                0.85,0.15,0.0
 +
#grn_ratio                -0.1,1.1,0.0
 +
#blu_ratio                -0.075,0.0,1.075
 +
#offset                    -0.15,-0.18,-0.18
 +
#scale                    1.15,1.18,1.18
 +
#power                    1.1,0.95,0.8
 +
</pre>

Latest revision as of 16:18, 3 June 2015

HLSL "1980s" CRT shader in MESS

mame.ini

skip_gameinfo 1

# from http://shmups.system11.org/viewtopic.php?f=6&t=45026&start=240
# DIRECT3D POST-PROCESSING OPTIONS
#
hlsl_enable               1
hlslpath                  hlsl
hlsl_ini_read             0
hlsl_ini_write            0
hlslini                   %g
hlsl_prescale_x           0
hlsl_prescale_y           0
hlsl_preset               -1
hlsl_write                
hlsl_snap_width           1024
hlsl_snap_height          768
shadow_mask_alpha         0.15
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.0
pincushion                0.02
scanline_alpha            1.0
scanline_size             1.0
scanline_height           1.0
scanline_bright_scale     1.7
scanline_bright_offset    0.0
scanline_jitter           0.05
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.1,1.1,0.0
blu_ratio                 -0.075,0.0,1.075
saturation                1.0
offset                    -0.15,-0.18,-0.18
scale                     1.15,1.18,1.18
power                     1.1,0.9,0.7
floor                     0.01,0.0,0.01
phosphor_life             0.0,0.0,0.0
waitvsync                 1
raster_bloom_scale        0.1
triplebuffer              1

# '86:
red_ratio                 0.925,0.075,0.0
grn_ratio                 -0.1,1.1,0.0
blu_ratio                 -0.075,0.0,1.075
offset                    -0.4,-0.42,-0.45
scale                     1.4,1.42,1.45
power                     0.9,0.75,0.6

# '91:
#red_ratio                 0.85,0.15,0.0
#grn_ratio                 -0.1,1.1,0.0
#blu_ratio                 -0.075,0.0,1.075
#offset                    -0.15,-0.18,-0.18
#scale                     1.15,1.18,1.18
#power                     1.1,0.95,0.8

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current16:56, 22 July 2013Thumbnail for version as of 16:56, 22 July 2013373 × 230 (85 KB)Morn (Talk | contribs)HLSL "1980s" CRT shader in MESS
  • You cannot overwrite this file.

The following page links to this file:

Metadata