1
0
Fork 0

Add an appropriate version number to all vertex shaders

This commit is contained in:
Erik Hofman 2016-08-05 13:16:23 +02:00
parent 34f9480f2c
commit fc2db8871b
31 changed files with 33 additions and 1 deletions

View file

@ -1,4 +1,5 @@
// -*-C++-*-
#version 120
// Shader that uses OpenGL state values to do per-pixel lighting
//

View file

@ -2,6 +2,7 @@
// Licence: GPL v2
// Author: Frederic Bouvier.
//
#version 120
varying vec3 ecNormal;
varying float alpha;

View file

@ -1,6 +1,7 @@
// -*- mode: C; -*-
// Licence: GPL v2
// Author: Frederic Bouvier
#version 120
//varying float fogCoord;
varying vec3 VNormal;

View file

@ -2,6 +2,7 @@
// Licence: GPL v2
// Author: Frederic Bouvier.
//
#version 120
varying vec3 ecNormal;
varying float alpha;

View file

@ -1,3 +1,4 @@
#version 120
uniform mat4 fg_ProjectionMatrixInverse;
varying vec3 ray;
void main() {

View file

@ -1,3 +1,4 @@
#version 120
void main() {
gl_Position = gl_Vertex;
gl_TexCoord[0] = gl_MultiTexCoord0;

View file

@ -1,4 +1,5 @@
// -*-C++-*-
#version 120
// Shader that uses OpenGL state values to do per-pixel lighting
//

View file

@ -1,4 +1,5 @@
// -*-C++-*-
#version 120
varying vec2 rawPos;
varying vec2 nPos;

View file

@ -1,3 +1,4 @@
#version 120
//varying float fogCoord;
varying vec3 PointPos;
//varying vec4 EyePos;

View file

@ -1,3 +1,5 @@
#version 120
varying vec4 rawpos;
varying vec4 ecPosition;
varying vec3 VNormal;

View file

@ -1,3 +1,4 @@
#version 120
// varying float fogCoord;
void main()

View file

@ -1,3 +1,4 @@
#version 120
varying vec4 ecPosition;
void main() {

View file

@ -1,4 +1,5 @@
// -*-C++-*-
#version 120
// Shader that uses OpenGL state values to do per-pixel lighting
//

View file

@ -1,4 +1,5 @@
// -*-C++-*-
#version 120
// Shader that uses OpenGL state values to do per-pixel lighting
//

View file

@ -1,4 +1,5 @@
// -*-C++-*-
#version 120
// Shader that uses OpenGL state values to do per-pixel lighting
//

View file

@ -1,6 +1,7 @@
// -*- mode: C; -*-
// Licence: GPL v2
// © Emilian Huminiuc and Vivian Meazza 2011
#version 120
varying vec3 rawpos;
varying float fogCoord;

View file

@ -1,6 +1,7 @@
// -*- mode: C; -*-
// Licence: GPL v2
// Author: Vivian Meazza.
#version 120
varying vec3 rawpos;
varying vec3 VNormal;

View file

@ -1,6 +1,7 @@
// -*- mode: C; -*-
// Licence: GPL v2
// © Emilian Huminiuc and Vivian Meazza 2011
#version 120
varying vec3 rawpos;
varying float fogCoord;

View file

@ -1,4 +1,5 @@
// -*-C++-*-
#version 120
// Shader that uses OpenGL state values to do per-pixel lighting
//

View file

@ -1,3 +1,4 @@
#version 120
uniform mat4 fg_ProjectionMatrixInverse;
varying vec4 ray;
void main() {

View file

@ -1,3 +1,4 @@
#version 120
//uniform mat4 fg_ViewMatrixInverse;
uniform mat4 fg_ProjectionMatrixInverse;
varying vec3 ray;

View file

@ -1,4 +1,5 @@
// -*-C++-*-
#version 120
// Shader that uses OpenGL state values to do per-pixel lighting

View file

@ -1,4 +1,5 @@
// -*-C++-*-
#version 120
// Shader that uses OpenGL state values to do per-pixel lighting
//

View file

@ -1,4 +1,5 @@
// -*-C++-*-
#version 120
// Shader that uses OpenGL state values to do per-pixel lighting
//

View file

@ -2,6 +2,7 @@
// Licence: GPL v2
// Authors: Frederic Bouvier, Emilian Huminiuc
//
#version 120
varying float RawPosZ;
varying vec3 WorldPos;

View file

@ -1,5 +1,5 @@
// -*-C++-*-
#version 120
// Shader that uses OpenGL state values to do per-pixel lighting
//

View file

@ -1,4 +1,5 @@
// -*-C++-*-
#version 120
// Shader that uses OpenGL state values to do per-pixel lighting
//

View file

@ -1,4 +1,5 @@
// -*-C++-*-
#version 120
// Shader that uses OpenGL state values to do per-pixel lighting
//

View file

@ -1,6 +1,7 @@
// -*- mode: C; -*-
// Licence: GPL v2
// Author: Frederic Bouvier
#version 120
varying vec4 rawpos;
varying vec4 ecPosition;

View file

@ -1,6 +1,7 @@
// -*- mode: C; -*-
// Licence: GPL v2
// Author: Frederic Bouvier
#version 120
varying vec4 rawpos;
varying vec4 ecPosition;

View file

@ -1,3 +1,5 @@
#version 120
varying vec4 rawpos;
varying vec4 ecPosition;
varying vec3 VNormal;