summaryrefslogtreecommitdiff
path: root/assets/shaders
diff options
context:
space:
mode:
Diffstat (limited to 'assets/shaders')
-rw-r--r--assets/shaders/blinn_phong.vert11
1 files changed, 4 insertions, 7 deletions
diff --git a/assets/shaders/blinn_phong.vert b/assets/shaders/blinn_phong.vert
index 041c3d1..6028178 100644
--- a/assets/shaders/blinn_phong.vert
+++ b/assets/shaders/blinn_phong.vert
@@ -4,13 +4,10 @@ layout (location = 0) in vec3 inPos;
layout (location = 1) in vec3 inNormal;
layout (location = 2) in vec2 inTexCoords;
-// Uniform block
-layout (std140, binding = 0) uniform MatrixBlock {
- mat4 model;
- mat4 view;
- mat4 projection;
- mat4 lightSpaceMatrix;
-};
+uniform mat4 model;
+uniform mat4 view;
+uniform mat4 projection;
+uniform mat4 lightSpaceMatrix;
// Output
out VS_OUT {