summaryrefslogtreecommitdiff
path: root/assets/shaders/blinn_phong.vert
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-21 12:34:00 +1000
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-21 12:34:00 +1000
commit1fc69f183bf8f105048b9d47e096ccd402107bbb (patch)
treebe3060a80d6ace90e911aea234993f847d31cd24 /assets/shaders/blinn_phong.vert
parent6585326fe177a0dc710ef6624a301a36db992e96 (diff)
misc cleanup
Diffstat (limited to 'assets/shaders/blinn_phong.vert')
-rw-r--r--assets/shaders/blinn_phong.vert2
1 files changed, 2 insertions, 0 deletions
diff --git a/assets/shaders/blinn_phong.vert b/assets/shaders/blinn_phong.vert
index 6028178..06dc5e7 100644
--- a/assets/shaders/blinn_phong.vert
+++ b/assets/shaders/blinn_phong.vert
@@ -15,6 +15,7 @@ out VS_OUT {
vec3 Normal;
vec2 TexCoords;
vec4 FragPosLightSpace;
+ vec4 Color;
} vs_out;
void main() {
@@ -22,5 +23,6 @@ void main() {
vs_out.Normal = inNormal;
vs_out.TexCoords = inTexCoords;
vs_out.FragPosLightSpace = lightSpaceMatrix * vec4(vs_out.FragPos, 1.0);
+ vs_out.Color = vec4(1.0);
gl_Position = projection * view * model * vec4(inPos, 1.0);
} \ No newline at end of file