Index

zydeco / 5f524c5

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

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
703 Sep 2023 16:015f524c5OpenGL render abstractionsJosh Stockin1180G

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

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