aboutsummaryrefslogtreecommitdiffstats
path: root/src/GLSLShaderTest
diff options
context:
space:
mode:
Diffstat (limited to 'src/GLSLShaderTest')
-rw-r--r--src/GLSLShaderTest/wood.frag2
-rw-r--r--src/GLSLShaderTest/wood.vert2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/GLSLShaderTest/wood.frag b/src/GLSLShaderTest/wood.frag
index 50ff2d5..eecf91f 100644
--- a/src/GLSLShaderTest/wood.frag
+++ b/src/GLSLShaderTest/wood.frag
@@ -11,7 +11,7 @@
//uniform float GrainSizeRecip;
//uniform vec3 DarkColor;
//uniform vec3 spread;
-const float GrainSizeRecip = 1;
+const float GrainSizeRecip = 1.0;
const vec3 DarkColor = vec3 (0.6, 0.3, 0.1);
const vec3 spread = vec3 (0.15, 0.075, 0.0);
diff --git a/src/GLSLShaderTest/wood.vert b/src/GLSLShaderTest/wood.vert
index b107bad..84651aa 100644
--- a/src/GLSLShaderTest/wood.vert
+++ b/src/GLSLShaderTest/wood.vert
@@ -13,7 +13,7 @@ varying vec3 Position;
//uniform vec3 LightPosition;
//uniform float Scale;
const vec3 LightPosition = vec3 (0.0,0.0,0.4);
-const float Scale = 1;
+const float Scale = 1.0;
void main(void)
{