diff --git a/docs/hlsl.txt b/docs/hlsl.txt index c57f65973ad..cbc2ecd6871 100644 --- a/docs/hlsl.txt +++ b/docs/hlsl.txt @@ -2,9 +2,9 @@ HLSL-Related Enable Switches ---------------------------- Name Values Description -hlsl_enable 0/1 Enables HLSL post-processing in Direct3D 9 modes. -hlsl_oversampling 0/1 Enables HLSL oversampling. -yiq_enable 0/1 Enables YIQ-colorspace post-processing. Causes a +hlsl_enable 0 or 1 Enables HLSL post-processing in Direct3D 9 modes. +hlsl_oversampling 0 or 1 Enables HLSL oversampling. +yiq_enable 0 or 1 Enables YIQ-colorspace post-processing. Causes a performance drop but gives a much more authentic NTSC TV appearance on TV-based systems when configured properly. @@ -104,7 +104,7 @@ Bloom Post-Processing Options ----------------------------- Name Default Values Description bloom_blend_mode 0 or 1 0 for brighten blend mode or 1 for darken blend mode. -bloom_scale 0.0 Bloom intensity factor. (0.000-4.000) +bloom_scale 0.0 Bloom intensity factor. (0.000-2.000) bloom_overdrive 0.0,0.0,0.0 Bloom overdrive factor to bright full saturated colors. (0.000-2.000) bloom_lvl0_weight 1.00 Bloom level 0 (full-size target) weight. (0.00-1.00) bloom_lvl1_weight 0.64 Bloom level 1 (1/2-size target) weight. (0.00-1.00) diff --git a/ini/gameboy.ini b/ini/gameboy.ini index 9c78116a680..6794c8c9e18 100644 --- a/ini/gameboy.ini +++ b/ini/gameboy.ini @@ -2,7 +2,7 @@ # DIRECT3D POST-PROCESSING OPTIONS # shadow_mask_tile_mode 1 -shadow_mask_alpha 0.25 +shadow_mask_alpha 0.5 shadow_mask_texture monochrome-matrix.png shadow_mask_x_count 2 shadow_mask_y_count 2 @@ -16,20 +16,20 @@ smooth_border 0.0 reflection 0.0 vignetting 0.0 scanline_alpha 0.0 -defocus 0.0,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.0,0.0,0.0 -grn_ratio 0.0,1.0,0.0 -blu_ratio 0.0,0.0,1.0 -saturation 1.0 -offset 0.0,0.0,0.0 -scale 1.0,1.0,1.0 -power 1.0,1.0,1.0 +grn_ratio 0.1,1.0,0.0 +blu_ratio 0.0,0.05,1.0 +saturation 2.0 +offset -0.10,0.0,-0.05 +scale 0.9,0.8,1.0 +power 1.4,1.2,2.0 floor 0.0,0.0,0.0 -phosphor_life 0.5,0.5,0.5 +phosphor_life 0.65,0.65,0.65 # # NTSC POST-PROCESSING OPTIONS @@ -40,7 +40,7 @@ yiq_enable 0 # BLOOM POST-PROCESSING OPTIONS # bloom_blend_mode 1 -bloom_scale 1.0 +bloom_scale 0.5 bloom_overdrive 0.0,0.0,0.0 bloom_lvl0_weight 1.0 bloom_lvl1_weight 0.64 diff --git a/ini/vector.ini b/ini/vector.ini index 487e5a3d9a3..8e7a98b64a9 100644 --- a/ini/vector.ini +++ b/ini/vector.ini @@ -2,7 +2,7 @@ # CORE VECTOR OPTIONS # antialias 1 -beam_width_min 0.50 +beam_width_min 0.75 beam_width_max 4.00 beam_intensity_weight 0.75 flicker 0.15 @@ -10,6 +10,7 @@ flicker 0.15 # # DIRECT3D POST-PROCESSING OPTIONS # +hlsl_oversampling 0 shadow_mask_tile_mode 0 shadow_mask_alpha 0.5 shadow_mask_texture shadow-mask.png @@ -30,7 +31,7 @@ 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.1 +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.0 @@ -56,7 +57,7 @@ vector_length_ratio 500.0 # bloom_blend_mode 0 bloom_scale 1.50 -bloom_overdrive 1.50,1.50,1.50 +bloom_overdrive 1.00,1.00,1.00 bloom_lvl0_weight 1.00 bloom_lvl1_weight 0.64 bloom_lvl2_weight 0.32 diff --git a/src/osd/modules/render/d3d/d3dhlsl.cpp b/src/osd/modules/render/d3d/d3dhlsl.cpp index 0403aaa3025..9d22e045b91 100644 --- a/src/osd/modules/render/d3d/d3dhlsl.cpp +++ b/src/osd/modules/render/d3d/d3dhlsl.cpp @@ -2381,7 +2381,7 @@ slider_desc shaders::s_sliders[] = { "Floor,", 0, 0, 100, 1, SLIDER_COLOR, SLIDER_SCREEN_TYPE_ANY, SLIDER_FLOOR, 0.01f, "%2.2f", {} }, { "Phosphor Life,", 0, 0, 100, 1, SLIDER_COLOR, SLIDER_SCREEN_TYPE_ANY, SLIDER_PHOSPHOR, 0.01f, "%2.2f", {} }, { "Bloom Blend Mode", 0, 0, 1, 1, SLIDER_INT_ENUM, SLIDER_SCREEN_TYPE_ANY, SLIDER_BLOOM_BLEND_MODE, 0, "%s", { "Brighten", "Darken" } }, - { "Bloom Scale", 0, 0, 4000, 5, SLIDER_FLOAT, SLIDER_SCREEN_TYPE_ANY, SLIDER_BLOOM_SCALE, 0.001f, "%1.3f", {} }, + { "Bloom Scale", 0, 0, 2000, 5, SLIDER_FLOAT, SLIDER_SCREEN_TYPE_ANY, SLIDER_BLOOM_SCALE, 0.001f, "%1.3f", {} }, { "Bloom Overdrive,", 0, 0, 2000, 5, SLIDER_COLOR, SLIDER_SCREEN_TYPE_ANY, SLIDER_BLOOM_OVERDRIVE, 0.001f, "%1.3f", {} }, { "Bloom Level 0 Scale", 0, 100, 100, 1, SLIDER_FLOAT, SLIDER_SCREEN_TYPE_ANY, SLIDER_BLOOM_LVL0_SCALE, 0.01f, "%1.2f", {} }, { "Bloom Level 1 Scale", 0, 0, 100, 1, SLIDER_FLOAT, SLIDER_SCREEN_TYPE_ANY, SLIDER_BLOOM_LVL1_SCALE, 0.01f, "%1.2f", {} },