aboutsummaryrefslogtreecommitdiff
path: root/shaders/glsl100/blur.fs
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-07-19 10:57:35 +0200
committerraysan5 <raysan5@gmail.com>2016-07-19 10:57:35 +0200
commit61558ab83faa52e738b264ea85fe34448651ba87 (patch)
tree9ca76df6cb7f976a9d426386ab4acb3a9e53fe1d /shaders/glsl100/blur.fs
parent76c9e9883d8b66d2f48e5416102c818e90481a8f (diff)
downloadraylib-61558ab83faa52e738b264ea85fe34448651ba87.tar.gz
raylib-61558ab83faa52e738b264ea85fe34448651ba87.zip
Updated shaders pack
Some deep review of this shaders is required for optimization...
Diffstat (limited to 'shaders/glsl100/blur.fs')
-rw-r--r--shaders/glsl100/blur.fs7
1 files changed, 4 insertions, 3 deletions
diff --git a/shaders/glsl100/blur.fs b/shaders/glsl100/blur.fs
index 80d40834..1935f080 100644
--- a/shaders/glsl100/blur.fs
+++ b/shaders/glsl100/blur.fs
@@ -8,12 +8,13 @@ varying vec4 fragColor;
// Input uniform values
uniform sampler2D texture0;
-uniform vec4 fragTintColor;
+uniform vec4 colDiffuse;
// NOTE: Add here your custom variables
-const float renderWidth = 1280;
-const float renderHeight = 720;
+// NOTE: Render size values must be passed from code
+const float renderWidth = 800;
+const float renderHeight = 450;
float offset[3] = float[]( 0.0, 1.3846153846, 3.2307692308 );
float weight[3] = float[]( 0.2270270270, 0.3162162162, 0.0702702703 );