diff --git a/zadanie-1/pendulum_fs.glsl b/zadanie-1/pendulum_fs.glsl index fdb9df3..fd7a8fd 100644 --- a/zadanie-1/pendulum_fs.glsl +++ b/zadanie-1/pendulum_fs.glsl @@ -1,5 +1,6 @@ #version 330 core -out vec4 fragColor; -void main(){ - fragColor = vec4(1.0, 0.0, 0.0, 1.0); -} \ No newline at end of file +out vec4 FragColor; +void main() +{ + FragColor = vec4(1.0, 1.0, 1.0, 1.0); +} diff --git a/zadanie-1/pendulum_vs.glsl b/zadanie-1/pendulum_vs.glsl index eb0c7fe..e757fcc 100644 --- a/zadanie-1/pendulum_vs.glsl +++ b/zadanie-1/pendulum_vs.glsl @@ -1,10 +1,6 @@ #version 330 core -layout (location = 0) in vec3 aPos; - -uniform mat4 model; -uniform mat4 view; -uniform mat4 projection; - -void main(){ - gl_Position = projection * view * model * vec4(aPos, 1.0); -} \ No newline at end of file +layout(location = 0) in vec2 aPos; +void main() +{ + gl_Position = vec4(aPos, 0.0, 1.0); +}