diff --git a/moss/shaders/light.vert b/moss/shaders/light.vert deleted file mode 100644 index 9fa21a0..0000000 --- a/moss/shaders/light.vert +++ /dev/null @@ -1,29 +0,0 @@ -#version 460 - -layout (location = 0) in vec3 position; -layout (location = 1) in vec2 texCoord; -layout (location = 2) in vec3 normal; - -out DATA { - vec3 position; - vec2 texCoord; - vec3 normal; - vec3 cameraPosition; - mat4 proj; - mat4 view; - mat4 model; -} data_out; - -uniform mat4 proj; -uniform mat4 view; -uniform mat4 model; - -void main() { - data_out.position = vec3(model * vec4(position, 1.0f)); - data_out.texCoord = texCoord; - data_out.normal = vec3(mat3(transpose(inverse(model))) * normal); - data_out.proj = proj; - data_out.view = view; - data_out.model = model; - gl_Position = proj * view * model * vec4(position, 1.0f); -} \ No newline at end of file