diff options
Diffstat (limited to 'shaders/final.fragment')
-rw-r--r-- | shaders/final.fragment | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/shaders/final.fragment b/shaders/final.fragment index 5feccb9..7eeb78e 100644 --- a/shaders/final.fragment +++ b/shaders/final.fragment | |||
@@ -15,14 +15,14 @@ const vec2 UVScalar = vec2(1.0, 1.0); | |||
15 | const vec2 UVOffset = vec2(0.0, 0.0); | 15 | const vec2 UVOffset = vec2(0.0, 0.0); |
16 | const vec2 CRTMask_Scale = vec2(85.0, 153.6)*4.0; | 16 | const vec2 CRTMask_Scale = vec2(85.0, 153.6)*4.0; |
17 | const vec2 CRTMask_Offset = vec2(0.0, 0.0); | 17 | const vec2 CRTMask_Offset = vec2(0.0, 0.0); |
18 | const float Tuning_Overscan = 1.0; | 18 | const float Tuning_Overscan = 1.08; |
19 | const float Tuning_Dimming = 0.0; | 19 | const float Tuning_Dimming = 0.0; |
20 | const float Tuning_Satur = 1.35; | 20 | const float Tuning_Satur = 1.0; |
21 | const float Tuning_ReflScalar = 0.3; | 21 | const float Tuning_ReflScalar = 0.3; |
22 | const float Tuning_Barrel = 0; //0.12; | 22 | const float Tuning_Barrel = 0; //0.12; |
23 | const float Tuning_Scanline_Brightness = 0.5; | 23 | const float Tuning_Scanline_Brightness = 0.45; |
24 | const float Tuning_Scanline_Opacity = 0.5; | 24 | const float Tuning_Scanline_Opacity = 0.5; |
25 | const float Tuning_Diff_Brightness = 0.5; | 25 | const float Tuning_Diff_Brightness = 0.75; |
26 | const float Tuning_Spec_Brightness = 0.35; | 26 | const float Tuning_Spec_Brightness = 0.35; |
27 | const float Tuning_Spec_Power = 50.0; | 27 | const float Tuning_Spec_Power = 50.0; |
28 | const float Tuning_Fres_Brightness = 1.0; | 28 | const float Tuning_Fres_Brightness = 1.0; |
@@ -86,7 +86,7 @@ void main() | |||
86 | vec4 emissive = sampleCRT(UV); | 86 | vec4 emissive = sampleCRT(UV); |
87 | 87 | ||
88 | vec4 nearfinal = colorfres + colordiff + colorspec + emissive; | 88 | vec4 nearfinal = colorfres + colordiff + colorspec + emissive; |
89 | vec4 final = nearfinal * mix(vec4(1,1,1,1), vec4(0,0,0,0), Tuning_Dimming); | 89 | //vec4 final = nearfinal * mix(vec4(1,1,1,1), vec4(0,0,0, 0), Tuning_Dimming); |
90 | 90 | ||
91 | color = final.rgb; | 91 | color = nearfinal.rgb; |
92 | } | 92 | } |