diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-02-04 21:57:24 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-02-04 21:57:24 -0500 |
commit | 1e8de01d3704c584e43e1b84947487c2aaddb7d7 (patch) | |
tree | 44daec2c6cadacd2a2f66bcbf05e2dabbab83a54 /shaders/final.fragment | |
parent | 51971f4d3b08e9e0835e3e11d50e8c27672a25aa (diff) | |
download | therapy-1e8de01d3704c584e43e1b84947487c2aaddb7d7.tar.gz therapy-1e8de01d3704c584e43e1b84947487c2aaddb7d7.tar.bz2 therapy-1e8de01d3704c584e43e1b84947487c2aaddb7d7.zip |
Made some fixes to rendering I guess
This is pretty old so I'm not exactly sure what it does but without it, the monitor gets rendered upside down.
Diffstat (limited to 'shaders/final.fragment')
-rw-r--r-- | shaders/final.fragment | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/shaders/final.fragment b/shaders/final.fragment index b6c49a8..a3ee243 100644 --- a/shaders/final.fragment +++ b/shaders/final.fragment | |||
@@ -15,14 +15,15 @@ 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.45; | 18 | const float Tuning_Scanline_Brightness = 0.5;//0.45; |
19 | const float Tuning_Scanline_Opacity = 0.55; | 19 | const float Tuning_Scanline_Opacity = 0.75;//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.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; |
23 | const float Tuning_Fres_Brightness = 1.0; | 23 | const float Tuning_Fres_Brightness = 0.0;//1.0; |
24 | 24 | ||
25 | uniform vec2 resolution; | 25 | uniform vec2 resolution; |
26 | uniform vec3 frameColor; | ||
26 | 27 | ||
27 | vec4 sampleCRT(vec2 uv) | 28 | vec4 sampleCRT(vec2 uv) |
28 | { | 29 | { |