diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-05-17 15:55:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-17 15:55:37 -0400 |
commit | 90aadf3844386824140a20d7fbb847bc16009a94 (patch) | |
tree | 6f83fce90e71abb22b1a8f3e09c79963b2a34d5d /shaders/final.fragment | |
parent | bc63fa57ced1c7329f7fdcfd168eaf7e290158bc (diff) | |
parent | 86f0106d0523825549f1e74b835688c78a10cf6c (diff) | |
download | therapy-90aadf3844386824140a20d7fbb847bc16009a94.tar.gz therapy-90aadf3844386824140a20d7fbb847bc16009a94.tar.bz2 therapy-90aadf3844386824140a20d7fbb847bc16009a94.zip |
Merge pull request #7 from hatkirby/es-rewrite
The ECS rewrite exceeds the original branch in functionality, so it is time to merge it in.
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 | } |