summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/shaders/cube.frag2
-rw-r--r--assets/shaders/cube.vert3
2 files changed, 3 insertions, 2 deletions
diff --git a/assets/shaders/cube.frag b/assets/shaders/cube.frag
index 11f1efa..292578f 100644
--- a/assets/shaders/cube.frag
+++ b/assets/shaders/cube.frag
@@ -8,5 +8,5 @@ layout(binding = 1) uniform sampler2D texSampler;
layout(location = 0) out vec4 outColor;
void main() {
- outColor = texture(texSampler, fragTexCoord); // vec4(fragTexCoord, 0.0);
+ outColor = texture(texSampler, fragTexCoord); // vec4(fragTexCoord, 0.0);
}
diff --git a/assets/shaders/cube.vert b/assets/shaders/cube.vert
index fa9f85b..dc625ec 100644
--- a/assets/shaders/cube.vert
+++ b/assets/shaders/cube.vert
@@ -4,7 +4,8 @@ layout(binding = 0) uniform UniformBufferObject {
mat4 model;
mat4 view;
mat4 proj;
-} ubo;
+}
+ubo;
layout(location = 0) in vec3 inPosition;
layout(location = 1) in vec3 inNormal;