From 99f2476d7bb8479d543f080c209324c77c775737 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Mon, 10 Jun 2024 13:35:23 +1000 Subject: bring back gltf --- assets/shaders/cube.frag | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'assets/shaders/cube.frag') diff --git a/assets/shaders/cube.frag b/assets/shaders/cube.frag index 02cb9b3..21d7b55 100644 --- a/assets/shaders/cube.frag +++ b/assets/shaders/cube.frag @@ -1,14 +1,14 @@ -#version 430 +#version 410 layout(location = 0) in vec3 fragColor; layout(location = 1) in vec2 fragTexCoord; -layout(binding = 1) uniform sampler2D texSampler; + uniform sampler2D texSampler; // uniform sampler2D texSampler; layout(location = 0) out vec4 outColor; void main() { - outColor = texture(texSampler, fragTexCoord); // vec4(fragTexCoord, 0.0); - // outColor = vec4(fragColor, 1.0); + // outColor = texture(texSampler, fragTexCoord); // vec4(fragTexCoord, 0.0); + outColor = vec4(fragColor, 1.0); } -- cgit v1.2.3-70-g09d2