diff options
Diffstat (limited to 'shaders/final.fragment')
-rw-r--r-- | shaders/final.fragment | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/shaders/final.fragment b/shaders/final.fragment index a3ee243..2e38f38 100644 --- a/shaders/final.fragment +++ b/shaders/final.fragment | |||
@@ -5,7 +5,7 @@ in vec3 normIn; | |||
5 | in vec3 camDirIn; | 5 | in vec3 camDirIn; |
6 | in vec3 lightDirIn; | 6 | in vec3 lightDirIn; |
7 | 7 | ||
8 | out vec3 color; | 8 | out vec4 color; |
9 | 9 | ||
10 | uniform sampler2D rendertex; | 10 | uniform sampler2D rendertex; |
11 | uniform sampler2D scanlinestex; | 11 | uniform sampler2D scanlinestex; |
@@ -15,8 +15,8 @@ const float Tuning_Dimming = 0.0; | |||
15 | const float Tuning_Satur = 1.13; | 15 | const float Tuning_Satur = 1.13; |
16 | const float Tuning_ReflScalar = 0.3; | 16 | const float Tuning_ReflScalar = 0.3; |
17 | const float Tuning_Barrel = 0;//0.12; | 17 | const float Tuning_Barrel = 0;//0.12; |
18 | const float Tuning_Scanline_Brightness = 0.5;//0.45; | 18 | const float Tuning_Scanline_Brightness = 0.55; |
19 | const float Tuning_Scanline_Opacity = 0.75;//0.55; | 19 | const float Tuning_Scanline_Opacity = 0.55; |
20 | const float Tuning_Diff_Brightness = 0.75; | 20 | const float Tuning_Diff_Brightness = 0.75; |
21 | const float Tuning_Spec_Brightness = 0.5;//0.35; | 21 | const float Tuning_Spec_Brightness = 0.5;//0.35; |
22 | const float Tuning_Spec_Power = 50.0; | 22 | const float Tuning_Spec_Power = 50.0; |
@@ -71,5 +71,5 @@ void main() | |||
71 | vec4 nearfinal = colorfres + colordiff + colorspec + emissive; | 71 | vec4 nearfinal = colorfres + colordiff + colorspec + emissive; |
72 | //vec4 final = nearfinal * mix(vec4(1,1,1,1), vec4(0,0,0, 0), Tuning_Dimming); | 72 | //vec4 final = nearfinal * mix(vec4(1,1,1,1), vec4(0,0,0, 0), Tuning_Dimming); |
73 | 73 | ||
74 | color = nearfinal.rgb; | 74 | color = nearfinal; |
75 | } | 75 | } |