Index
Experiment in graphics programming, C++, OpenGL, simulation techniques.
Latest Commit
{#} | Time | Hash | Subject | Author | # | (+) | (-) | GPG? |
7 | 03 Sep 2023 16:01 | 5f524c5 | OpenGL render abstractions | Josh Stockin | 1 | 18 | 0 | G |
1 | R""( |
2 |
|
3 | #version 460 core |
4 |
|
5 |
|
6 | layout (location = 0) in vec3 position; |
7 | layout (location = 1) in vec3 color; |
8 |
|
9 | out vec3 vertexColor; |
10 |
|
11 |
|
12 | void main() |
13 | { |
14 | gl_Position = vec4(position, 1.0); |
15 | vertexColor = color; |
16 | } |
17 |
|
18 | )"" |
19 |
|