feature/imgui-sdl
points-test
Last change
on this file since d9ef6ab was 80edd70, checked in by Dmitry Portnoy <dmp1488@…>, 5 years ago |
Use a vertex buffer to store the points to be rendered
|
-
Property mode
set to
100644
|
File size:
220 bytes
|
Line | |
---|
1 | #version 450
|
---|
2 |
|
---|
3 | layout(location = 0) in vec2 inPosition;
|
---|
4 | layout(location = 1) in vec3 inColor;
|
---|
5 |
|
---|
6 | layout(location = 0) out vec3 fragColor;
|
---|
7 |
|
---|
8 | void main() {
|
---|
9 | gl_Position = vec4(inPosition, 0.0, 1.0);
|
---|
10 | fragColor = inColor;
|
---|
11 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.