diff options
| author | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2025-02-12 18:05:18 +1100 |
|---|---|---|
| committer | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2025-02-12 18:05:18 +1100 |
| commit | 1cc08c51eb4b0f95c30c0a98ad1fc5ad3459b2df (patch) | |
| tree | 222dfcd07a1e40716127a347bbfd7119ce3d0984 /res/shaders/line.vs | |
initial commit
Diffstat (limited to 'res/shaders/line.vs')
| -rw-r--r-- | res/shaders/line.vs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/res/shaders/line.vs b/res/shaders/line.vs new file mode 100644 index 0000000..7ad4775 --- /dev/null +++ b/res/shaders/line.vs @@ -0,0 +1,8 @@ +#version 420 core +layout (location = 0) in vec3 _l_position; + +uniform mat4 _u_matrix; + +void main() { + gl_Position = _u_matrix * vec4(_l_position, 1.0f); +} |
