diff options
Diffstat (limited to 'src/osd/modules/render/d3d/d3dhlsl.h')
-rw-r--r-- | src/osd/modules/render/d3d/d3dhlsl.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/osd/modules/render/d3d/d3dhlsl.h b/src/osd/modules/render/d3d/d3dhlsl.h index ed25d2c52e8..6c94be09793 100644 --- a/src/osd/modules/render/d3d/d3dhlsl.h +++ b/src/osd/modules/render/d3d/d3dhlsl.h @@ -77,7 +77,12 @@ public: CU_FOCUS_SIZE, - CU_PHOSPHOR_LIFE, + CU_PHOSPHOR_MODE, + CU_PHOSPHOR_TIME, + CU_PHOSPHOR_BETA, + + CU_LCD_RISE_TIME, + CU_LCD_FALL_TIME, CU_POST_VIGNETTING, CU_POST_DISTORTION, @@ -203,7 +208,11 @@ struct hlsl_options float scale[3]; float power[3]; float floor[3]; - float phosphor[3]; + int phosphor_mode; + float phosphor_time[3]; + float phosphor_beta[3]; + float lcd_rise_time[3]; + float lcd_fall_time[3]; float saturation; // NTSC @@ -332,6 +341,7 @@ private: int deconverge_pass(d3d_render_target *rt, int source_index, poly_info *poly, int vertnum); int defocus_pass(d3d_render_target *rt, int source_index, poly_info *poly, int vertnum); int phosphor_pass(d3d_render_target *rt, int source_index, poly_info *poly, int vertnum); + int ghosting_pass(d3d_render_target *rt, int source_index, poly_info *poly, int vertnum); int post_pass(d3d_render_target *rt, int source_index, poly_info *poly, int vertnum, bool prepare_bloom); int downsample_pass(d3d_render_target *rt, int source_index, poly_info *poly, int vertnum); int bloom_pass(d3d_render_target *rt, int source_index, poly_info *poly, int vertnum); @@ -381,6 +391,7 @@ private: effect * distortion_effect; // pointer to the distortion-effect object effect * focus_effect; // pointer to the focus-effect object effect * phosphor_effect; // pointer to the phosphor-effect object + effect * ghosting_effect; // pointer te the LCD ghosting effect object effect * deconverge_effect; // pointer to the deconvergence-effect object effect * color_effect; // pointer to the color-effect object effect * ntsc_effect; // pointer to the NTSC effect object |