summary refs log tree commit diff stats
path: root/shaders/final.fragment
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-02-04 21:57:24 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-02-04 21:57:24 -0500
commit1e8de01d3704c584e43e1b84947487c2aaddb7d7 (patch)
tree44daec2c6cadacd2a2f66bcbf05e2dabbab83a54 /shaders/final.fragment
parent51971f4d3b08e9e0835e3e11d50e8c27672a25aa (diff)
downloadtherapy-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.fragment9
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;
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.45; 18const float Tuning_Scanline_Brightness = 0.5;//0.45;
19const float Tuning_Scanline_Opacity = 0.55; 19const float Tuning_Scanline_Opacity = 0.75;//0.55;
20const float Tuning_Diff_Brightness = 0.75; 20const float Tuning_Diff_Brightness = 0.75;
21const float Tuning_Spec_Brightness = 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;
23const float Tuning_Fres_Brightness = 1.0; 23const float Tuning_Fres_Brightness = 0.0;//1.0;
24 24
25uniform vec2 resolution; 25uniform vec2 resolution;
26uniform vec3 frameColor;
26 27
27vec4 sampleCRT(vec2 uv) 28vec4 sampleCRT(vec2 uv)
28{ 29{