aboutsummaryrefslogtreecommitdiff
path: root/shaders/dummy.vsh
diff options
context:
space:
mode:
authorjvech <jmvalenciae@unal.edu.co>2022-11-03 14:50:17 -0500
committerjvech <jmvalenciae@unal.edu.co>2022-11-03 14:50:17 -0500
commit02b8093bf0c09b838650f96d3d86be5d3231490e (patch)
treea4fd3fe3d31fc963c500a7eaf8d2146e043b7db7 /shaders/dummy.vsh
parent45584a1c39c699e2bc68638fe2402e590631e3a3 (diff)
add: material and illumnation render implemented
shaders now render the models using ambient, diffuse and specular properties and react to directional light.
Diffstat (limited to 'shaders/dummy.vsh')
-rw-r--r--shaders/dummy.vsh4
1 files changed, 2 insertions, 2 deletions
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;
}
Feel free to download, copy and edit any repo