diff options
author | 2016-04-18 20:25:28 +0200 | |
---|---|---|
committer | 2016-04-19 21:13:20 +0200 | |
commit | 8ed3a7d94a65ee01bf1adce3ea8118c04d41a18d (patch) | |
tree | ef8996c9bae5d8498b45064924d0831a285e8434 /docs/hlsl.txt | |
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 'docs/hlsl.txt')
-rw-r--r-- | docs/hlsl.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/hlsl.txt b/docs/hlsl.txt index db6cfa6def4..13382f97273 100644 --- a/docs/hlsl.txt +++ b/docs/hlsl.txt @@ -27,7 +27,9 @@ shadow_mask_usize 0.0 to 1.0 The size of one shadow mask tile in U/V shadow_mask_vsize 0.0 to 1.0 The shadow mask textures always has a size of power-of-two. shadow_mask_voffset -1.0 to 1.0 The offset of the shadow mask texture in U/V coordinates. shadow_mask_voffset -1.0 to 1.0 An offset of 1.0 repressents one pixel on screen. -curvature 0.0 to 1.0 Curvature amount of the screen. +distortion -1.0 to 1.0 Distortion amount of the screen. +cubic_distortion -1.0 to 1.0 Cubic Distortion amount of the screen. +distort_corner 0.0 to 1.0 Distorted corners amount of the screen. round_corner 0.0 to 1.0 Rounded corners amount of the screen. smooth_border 0.0 to 1.0 Smooth borders amount of the screen. reflection 0.0 to 1.0 Refelection amount of the screen highlight. |