From 32ea01632523fef820e28839ef814bf561f28e50 Mon Sep 17 00:00:00 2001 From: visil Date: Wed, 11 Oct 2023 12:45:53 +0300 Subject: =?UTF-8?q?=D0=9A=D0=BE=D0=B4=20=D1=88=D0=B5=D0=B9=D0=B4=D0=B5?= =?UTF-8?q?=D1=80=D0=BE=D0=B2=20=D0=B2=D1=8B=D0=BD=D0=B5=D1=81=D0=B5=D0=BD?= =?UTF-8?q?=20=D0=B2=20=D0=BE=D1=82=D0=B4=D0=B5=D0=BB=D1=8C=D0=BD=D1=8B?= =?UTF-8?q?=D0=B9=20=D0=B7=D0=B0=D0=B3=D0=BE=D0=BB=D0=BE=D0=B2=D0=BE=D0=BA?= =?UTF-8?q?;=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20Makefile=20?= =?UTF-8?q?=D1=81=20=D0=BE=D0=BF=D1=86=D0=B8=D0=B5=D0=B9=20Wireframe-?= =?UTF-8?q?=D1=80=D0=B5=D0=BD=D0=B4=D0=B5=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lesson01/shader.vs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lesson01/shader.vs (limited to 'lesson01/shader.vs') diff --git a/lesson01/shader.vs b/lesson01/shader.vs new file mode 100644 index 0000000..a2263a1 --- /dev/null +++ b/lesson01/shader.vs @@ -0,0 +1,11 @@ +#version 330 core +layout (location = 0) in vec3 aPos; +layout (location = 1) in vec3 aColor; + +out vec3 ourColor; + +void main() +{ + gl_Position = vec4(aPos, 1.0); + ourColor = aColor; +} -- cgit v1.2.3