Initial commit

This commit is contained in:
Stefan Stefanov 2023-10-20 17:14:46 +03:00 committed by GitHub
commit fce29361f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 59905 additions and 0 deletions

View file

@ -0,0 +1,9 @@
#version 330 core
out vec4 FragColor;
in vec3 fragPosition;
void main()
{
FragColor = vec4((sin(fragPosition.x * 15.0) / 2.0) + 0.5, 0.55, 0.5, 1.0);
};

View file

@ -0,0 +1,10 @@
#version 330 core
layout (location = 0) in vec3 aPos;
out vec3 fragPosition;
void main()
{
fragPosition = aPos;
gl_Position = vec4(aPos.x, aPos.y, aPos.z, 1.0);
};