diff options
| author | 0scar <qgt268@alumni.ku.dk> | 2024-02-18 11:31:04 +0000 |
|---|---|---|
| committer | 0undefined <oscar@nelin.dk> | 2025-02-26 12:50:09 +0000 |
| commit | 3dff7f3a8ca2e81e5ddf35e1cb85c11b5cf64ba4 (patch) | |
| tree | f9b7078183c6ccb6317a16ce0a86a57c94630b71 /shader.vert | |
| parent | 6890ca55ba38682e3fc72dc6722954d376ae1277 (diff) | |
Update shader paths
Diffstat (limited to 'shader.vert')
| -rw-r--r-- | shader.vert | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/shader.vert b/shader.vert deleted file mode 100644 index e5aff9a..0000000 --- a/shader.vert +++ /dev/null @@ -1,23 +0,0 @@ -#version 330 core - -// Input vertex data, different for all executions of this shader. -layout(location = 0) in vec3 vertexPosition_modelspace; -layout(location = 1) in vec2 vertexUV; - -out vec2 UV; - -uniform mat4 MVP; - -void main() { - - gl_Position = MVP * vec4(vertexPosition_modelspace, 1); - - UV = vertexUV; - - //fragmentcolor.x = vertexPosition_modelspace.x; //= vertexColor; - //fragmentcolor.y = vertexPosition_modelspace.y; //= vertexColor; - //fragmentcolor.z = vertexPosition_modelspace.z; //= vertexColor; - - //fragmentcolor += 1; - //fragmentcolor /= 2; -} |
