From 92803015adf19848c3f3a30caea889006ad05999 Mon Sep 17 00:00:00 2001 From: sanine-a Date: Wed, 22 Mar 2023 12:46:23 -0500 Subject: tidy up main.lua --- fragment.glsl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 fragment.glsl (limited to 'fragment.glsl') diff --git a/fragment.glsl b/fragment.glsl new file mode 100644 index 0000000..27dbbfa --- /dev/null +++ b/fragment.glsl @@ -0,0 +1,15 @@ +#version 410 core +out vec4 FragColor; + +in vec3 position; +in vec3 normal; +in vec2 tex; + +uniform sampler2D ourTexture; + +void main() +{ + FragColor = vec4(normal, 1.0f); + //FragColor = vec4(tex, 1.0f, 1.0f); + //FragColor = texture(ourTexture, TexCoord); +} -- cgit v1.2.1