Initial commit
This commit is contained in:
commit
fce29361f6
35 changed files with 59905 additions and 0 deletions
9
resources/shaders/testing.fs
Normal file
9
resources/shaders/testing.fs
Normal 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);
|
||||
};
|
||||
10
resources/shaders/testing.vs
Normal file
10
resources/shaders/testing.vs
Normal 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);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue