projects
/
mandelwow.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Cleanup unused imports.
[mandelwow.git]
/
shaders
/
mandelwow.vert
1
#version 100
2
uniform mat4 perspective;
3
uniform mat4 view;
4
uniform mat4 model;
5
uniform vec2 z0;
6
attribute mediump vec3 position;
7
varying mediump vec2 c;
8
varying mediump vec2 z;
9
10
void main() {
11
mat4 modelview = view * model;
12
gl_Position = perspective * modelview * vec4(position, 1.0);
13
c = vec2(position.x, position.y);
14
z = vec2(z0.x, z0.y);
15
}