Index

zydeco / 1467546

Experiment in graphics programming, C++, OpenGL, simulation techniques.

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
916 Nov 2023 11:11a4d3636Fractal ViewerJosh Stockin143G

Blob @ zydeco / include / render / shaders / triangle.vs.glsl

text/plain207 bytesdownload raw
1R""(
2
3#version 460 core
4
5
6in vec3 position;
7in vec3 color;
8uniform mat4 perspective;
9
10out vec3 vertexColor;
11
12
13void main()
14{
15 gl_Position = perspective*vec4(position, 1.0);
16 vertexColor = color;
17}
18
19)""
20