diff options
author | 2016-04-18 20:25:28 +0200 | |
---|---|---|
committer | 2016-04-19 21:13:20 +0200 | |
commit | 8ed3a7d94a65ee01bf1adce3ea8118c04d41a18d (patch) | |
tree | ef8996c9bae5d8498b45064924d0831a285e8434 /src/osd/modules/render/d3d/d3dhlsl.h | |
parent | a86983713dffcc926c50227a9e26091022bbc32c (diff) |
Refactored distortion pass
- separated curvature parameter into distortion, cubic_distortion and distort_corner
- distortion and cubic_distortion can be negative, to compensate each other
- distort_corner is intependent from the image distortion
Diffstat (limited to 'src/osd/modules/render/d3d/d3dhlsl.h')
-rw-r--r-- | src/osd/modules/render/d3d/d3dhlsl.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/osd/modules/render/d3d/d3dhlsl.h b/src/osd/modules/render/d3d/d3dhlsl.h index 738d77330f7..8851531678e 100644 --- a/src/osd/modules/render/d3d/d3dhlsl.h +++ b/src/osd/modules/render/d3d/d3dhlsl.h @@ -81,7 +81,9 @@ public: CU_PHOSPHOR_IGNORE, CU_POST_VIGNETTING, - CU_POST_CURVATURE, + CU_POST_DISTORTION, + CU_POST_CUBIC_DISTORTION, + CU_POST_DISTORT_CORNER, CU_POST_ROUND_CORNER, CU_POST_SMOOTH_BORDER, CU_POST_REFLECTION, @@ -197,7 +199,9 @@ struct hlsl_options float shadow_mask_v_size; float shadow_mask_u_offset; float shadow_mask_v_offset; - float curvature; + float distortion; + float cubic_distortion; + float distort_corner; float round_corner; float smooth_border; float reflection; |