X-Git-Url: https://gitweb.ps.run/subsurface_scattering/blobdiff_plain/cedffd5cf24c1a3ed64161475c806c55135406be..a0fdc6d882a1755d0b0607ba3d9bb55e7f8ac006:/shaders/vert.glsl diff --git a/shaders/vert.glsl b/shaders/vert.glsl deleted file mode 100644 index 6f48573..0000000 --- a/shaders/vert.glsl +++ /dev/null @@ -1,18 +0,0 @@ -#version 330 core - -layout (location = 0) in vec3 pos; -layout (location = 1) in vec3 normal; - -out vec3 FragPos; -out vec3 Normal; - -uniform mat4 model; -uniform mat4 view; -uniform mat4 projection; - -void main() -{ - gl_Position = projection * view * model * vec4(pos, 1.0); - FragPos = vec3(model * vec4(pos, 1)); - Normal = normal; -}