diff options
Diffstat (limited to 'assets/shaders')
-rw-r--r-- | assets/shaders/cube.frag | 2 | ||||
-rw-r--r-- | assets/shaders/cube.vert | 1 |
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; } |