summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorOmniscient <omniscient.oce@gmail.com>2024-06-10 15:12:28 +1000
committerOmniscient <omniscient.oce@gmail.com>2024-06-10 15:12:28 +1000
commitae214fc4c9a1cac1969f64b2316d8ec431b33693 (patch)
tree35968674ad0f7dd9b0f655ccab44a96a62343d6a /assets
parent99f2476d7bb8479d543f080c209324c77c775737 (diff)
default renderer pipeline
Diffstat (limited to 'assets')
-rw-r--r--assets/shaders/cube.frag2
-rw-r--r--assets/shaders/cube.vert1
2 files changed, 2 insertions, 1 deletions
diff --git a/assets/shaders/cube.frag b/assets/shaders/cube.frag
index 21d7b55..5f17e7c 100644
--- a/assets/shaders/cube.frag
+++ b/assets/shaders/cube.frag
@@ -10,5 +10,5 @@ layout(location = 0) out vec4 outColor;
void main() {
// outColor = texture(texSampler, fragTexCoord); // vec4(fragTexCoord, 0.0);
- outColor = vec4(fragColor, 1.0);
+ outColor = vec4(1.0);
}
diff --git a/assets/shaders/cube.vert b/assets/shaders/cube.vert
index 2ccab09..7af7413 100644
--- a/assets/shaders/cube.vert
+++ b/assets/shaders/cube.vert
@@ -15,6 +15,7 @@ layout(location = 1) out vec2 fragTexCoord;
void main() {
gl_Position = ubo.proj * ubo.view * ubo.model * vec4(inPosition, 1.0);
+ // gl_Position = vec4(inPosition, 1.0);
fragColor = abs(inNormal);
fragTexCoord = inTexCoords;
}