diff options
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_3D_normal_vert.glsl')
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_3D_normal_vert.glsl | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_3D_normal_vert.glsl b/source/blender/gpu/shaders/gpu_shader_3D_normal_vert.glsl index 5084e438d40..a3f447a85f9 100644 --- a/source/blender/gpu/shaders/gpu_shader_3D_normal_vert.glsl +++ b/source/blender/gpu/shaders/gpu_shader_3D_normal_vert.glsl @@ -2,15 +2,9 @@ uniform mat4 ModelViewProjectionMatrix; uniform mat3 NormalMatrix; -#if __VERSION__ == 120 - attribute vec3 pos; - attribute vec3 nor; - varying vec3 normal; -#else - in vec3 pos; - in vec3 nor; - out vec3 normal; -#endif +in vec3 pos; +in vec3 nor; +out vec3 normal; void main() { |