☰
Debian Codegraph
@
1.0.1552-1
/
/
shaders
/
contour.vert
☽
☼
shaders/contour.vert
code
plain
raw
LGPL-2.1
2010,2011, Christian B. Huebschle & George M. Sheldrick
debian/copyright
1
#version 330
2
3
in vec4 vertex;
4
5
//out vec3 vert;
6
out float val;
7
8
uniform mat4 pmv;
9
uniform vec3 origin;
10
11
out gl_PerVertex{
12
vec4 gl_Position;
13
};
14
15
void main(){
16
gl_Position = pmv * vec4(vertex.xyz - origin, 1);
17
val = vertex.w;
18
}