summaryrefslogtreecommitdiff
path: root/chart2/opengl/shape3DFragmentShaderV300.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/opengl/shape3DFragmentShaderV300.glsl')
-rw-r--r--chart2/opengl/shape3DFragmentShaderV300.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/opengl/shape3DFragmentShaderV300.glsl b/chart2/opengl/shape3DFragmentShaderV300.glsl
index c9d4522c6eca..9a8ddeaa9b54 100644
--- a/chart2/opengl/shape3DFragmentShaderV300.glsl
+++ b/chart2/opengl/shape3DFragmentShaderV300.glsl
@@ -11,8 +11,8 @@
#define MAX_LIGHT_NUM 8
-varying vec3 positionWorldspace;
-varying vec3 normalCameraspace;
+in vec3 positionWorldspace;
+in vec3 normalCameraspace;
uniform mat4 V;
uniform vec4 materialAmbient;