From 02b8093bf0c09b838650f96d3d86be5d3231490e Mon Sep 17 00:00:00 2001 From: jvech Date: Thu, 3 Nov 2022 14:50:17 -0500 Subject: add: material and illumnation render implemented shaders now render the models using ambient, diffuse and specular properties and react to directional light. --- shaders/dummy.vsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shaders/dummy.vsh') diff --git a/shaders/dummy.vsh b/shaders/dummy.vsh index bd540ab..d3a2082 100644 --- a/shaders/dummy.vsh +++ b/shaders/dummy.vsh @@ -15,6 +15,6 @@ void main() { gl_Position = proj * view * model * vec4(aPos, 1.0f); FragPos = vec3(model * vec4(aPos, 1.0)); - //Normal = vec3(rotNormals * vec4(aNormal, 1.0)); - //TexCoords = aTexCoords; + Normal = vec3(rotNormals * vec4(aNormal, 1.0)); + TexCoords = aTexCoords; } -- cgit v1.2.3-70-g09d2