From 1e8de01d3704c584e43e1b84947487c2aaddb7d7 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 4 Feb 2018 21:57:24 -0500 Subject: 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. --- shaders/final.fragment | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'shaders/final.fragment') 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; const float Tuning_Satur = 1.13; const float Tuning_ReflScalar = 0.3; const float Tuning_Barrel = 0;//0.12; -const float Tuning_Scanline_Brightness = 0.45; -const float Tuning_Scanline_Opacity = 0.55; +const float Tuning_Scanline_Brightness = 0.5;//0.45; +const float Tuning_Scanline_Opacity = 0.75;//0.55; const float Tuning_Diff_Brightness = 0.75; -const float Tuning_Spec_Brightness = 0.35; +const float Tuning_Spec_Brightness = 0.5;//0.35; const float Tuning_Spec_Power = 50.0; -const float Tuning_Fres_Brightness = 1.0; +const float Tuning_Fres_Brightness = 0.0;//1.0; uniform vec2 resolution; +uniform vec3 frameColor; vec4 sampleCRT(vec2 uv) { -- cgit 1.4.1