Archived
Private
Public Access
1
0
This repository has been archived on 2026-02-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ProjectBackup/C#/OpenTKTutorial/shader.vert
2022-09-04 12:45:01 +02:00

11 lines
218 B
GLSL

#version 330 core
layout (location = 0) in vec2 aPosition;
layout (location = 1) in vec3 aColor;
out vec4 fColor;
void main()
{
gl_Position = vec4(aPosition.xy, 0.0, 1.0);
fColor = vec4(aColor.rgb, 1.0);
}