diff options
Diffstat (limited to 'shaders/final.fragment')
-rw-r--r-- | shaders/final.fragment | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shaders/final.fragment b/shaders/final.fragment index a3ee243..9a39597 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; |
@@ -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 | } |