- Timestamp:
- Aug 17, 2017, 2:30:31 AM (7 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 201e2f8
- Parents:
- 9d22ee9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test.vert
r9d22ee9 r7ee66ea 1 1 #version 410 2 2 3 uniform mat4 model ;3 uniform mat4 model, view, proj; 4 4 5 5 layout(location = 0) in vec3 vertex_position; … … 10 10 void main() { 11 11 color = vertex_color; 12 gl_Position = model * vec4(vertex_position, 1.0);12 gl_Position = proj * view * model * vec4(vertex_position, 1.0); 13 13 }
Note:
See TracChangeset
for help on using the changeset viewer.