feature/imgui-sdl
points-test
Last change
on this file since 7280257 was 7280257, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 6 years ago |
Remove uniform buffer code until I figure out how to use it correctly.
|
-
Property mode
set to
100644
|
File size:
268 bytes
|
Line | |
---|
1 | #version 410
|
---|
2 |
|
---|
3 | uniform mat4 model, view, proj;
|
---|
4 |
|
---|
5 | layout(location = 0) in vec3 vertex_position;
|
---|
6 | layout(location = 1) in vec2 vt;
|
---|
7 |
|
---|
8 | out vec2 texture_coordinates;
|
---|
9 |
|
---|
10 | void main() {
|
---|
11 | texture_coordinates = vt;
|
---|
12 | gl_Position = proj * view * model * vec4(vertex_position, 1.0);
|
---|
13 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.