From 1b373eb812d11dfeb0fead627f7df4e827e27f8f Mon Sep 17 00:00:00 2001 From: ImJezze Date: Fri, 25 Dec 2015 20:02:47 +0100 Subject: Extended Shadow Mask and Bloom functionality - added shadow mask type option to choose between "Screen" and "Source" tile mode ("Screen" is the default as before) - added bloom type option to choose between "Addition" and "Darken" blend mode ("Addition" is the default as before) - the alpha channel of a shadow mask is now filled with the background color of the screen by the amount of the inverted alpha value - added monochrome-matrix.png which can be used in combination with "Source" tile mode and "Darken" blend mode to simulate a STN LCD, for example --- docs/hlsl.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') diff --git a/docs/hlsl.txt b/docs/hlsl.txt index 619e08a07d2..8333c299042 100644 --- a/docs/hlsl.txt +++ b/docs/hlsl.txt @@ -19,6 +19,7 @@ Surface/Color Processing Parameters ----------------------------------- Name Values Description +shadow_mask_type 0 or 1 0 for screen tile mode or 1 for source tile mode. shadow_mask_alpha 0.0 to 1.0 The ovearll darkness of each shadow mask pixel. shadow_mask_texture [filename] A PNG that defines the shadow mask for each pixel. shadow_mask_x_count 1+ The number of pixels one shadow mask tile uses on screen. @@ -101,6 +102,7 @@ vector_length_ratio 500.0 Vector fade length (4.0 - vectors fade t Bloom Post-Processing Options ----------------------------- Name Default Values Description +bloom_type 0 or 1 0 for addition blend mode or 1 for darken blend mode. bloom_scale 0.500 Bloom intensity factor. (0.000-2.000) bloom_overdrive 0.00,0.00,0.00 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) -- cgit v1.2.3-70-g09d2