Index
zydeco
/
5a717fe
Experiment in graphics programming, C++, OpenGL, simulation techniques.
Download
|
Refs
|
Commit Log
|
Files
|
README
|
LICENSE
Latest Commit
{#}
Time
Hash
Subject
Author
#
(+)
(-)
GPG?
9
16 Nov 2023 11:11
a4d3636
Fractal Viewer
Josh Stockin
1
4
3
G
Blob @
zydeco
/
include
/
render
/
shaders
/
triangle.vs.glsl
text/plain
207 bytes
download raw
1
R""(
2
3
#version 460 core
4
5
6
in vec3 position;
7
in vec3 color;
8
uniform mat4 perspective;
9
10
out vec3 vertexColor;
11
12
13
void main()
14
{
15
gl_Position = perspective*vec4(position, 1.0);
16
vertexColor = color;
17
}
18
19
)""
20