From ae214fc4c9a1cac1969f64b2316d8ec431b33693 Mon Sep 17 00:00:00 2001 From: Omniscient Date: Mon, 10 Jun 2024 15:12:28 +1000 Subject: default renderer pipeline --- assets/shaders/cube.frag | 2 +- assets/shaders/cube.vert | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'assets') 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; } -- cgit v1.2.3-70-g09d2