repo.or.cz
/
voxelands-alt.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add pseudo signed distance field rendering
[voxelands-alt.git]
/
data
/
shaders
/
ui_vertex.glsl
blob
f9a26d03b145f3a08a189faa564c971cc1f79ee7
1
#version 330 core
2
3
in vec2 position;
4
in vec2 uvs;
5
6
out vec2 uv;
7
8
uniform mat4 transformationMatrix;
9
10
void main(void) {
11
12
gl_Position = transformationMatrix*vec4(position, 0.0, 1.0);
13
14
uv = uvs;
15
}