summary refs log tree commit diff stats
path: root/shaders/final.fragment
diff options
context:
space:
mode:
Diffstat (limited to 'shaders/final.fragment')
-rw-r--r--shaders/final.fragment8
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;
5in vec3 camDirIn; 5in vec3 camDirIn;
6in vec3 lightDirIn; 6in vec3 lightDirIn;
7 7
8out vec3 color; 8out vec4 color;
9 9
10uniform sampler2D rendertex; 10uniform sampler2D rendertex;
11uniform sampler2D scanlinestex; 11uniform sampler2D scanlinestex;
@@ -15,8 +15,8 @@ const float Tuning_Dimming = 0.0;
15const float Tuning_Satur = 1.13; 15const float Tuning_Satur = 1.13;
16const float Tuning_ReflScalar = 0.3; 16const float Tuning_ReflScalar = 0.3;
17const float Tuning_Barrel = 0;//0.12; 17const float Tuning_Barrel = 0;//0.12;
18const float Tuning_Scanline_Brightness = 0.5;//0.45; 18const float Tuning_Scanline_Brightness = 0.55;
19const float Tuning_Scanline_Opacity = 0.75;//0.55; 19const float Tuning_Scanline_Opacity = 0.55;
20const float Tuning_Diff_Brightness = 0.75; 20const float Tuning_Diff_Brightness = 0.75;
21const float Tuning_Spec_Brightness = 0.5;//0.35; 21const float Tuning_Spec_Brightness = 0.5;//0.35;
22const float Tuning_Spec_Power = 50.0; 22const 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}