aboutsummaryrefslogtreecommitdiff
path: root/shaders/glsl100/swirl.fs
diff options
context:
space:
mode:
Diffstat (limited to 'shaders/glsl100/swirl.fs')
-rw-r--r--shaders/glsl100/swirl.fs7
1 files changed, 4 insertions, 3 deletions
diff --git a/shaders/glsl100/swirl.fs b/shaders/glsl100/swirl.fs
index 0d6d24f2..6b17874c 100644
--- a/shaders/glsl100/swirl.fs
+++ b/shaders/glsl100/swirl.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 = 800.0; // HARDCODED for example!
-const float renderHeight = 480.0; // Use uniforms instead...
+// NOTE: Render size values must be passed from code
+const float renderWidth = 800;
+const float renderHeight = 450;
float radius = 250.0;
float angle = 0.8;