From 34cfaac69eda7eae258d004e4cafd5a816cf9b67 Mon Sep 17 00:00:00 2001 From: Omniscient Date: Fri, 7 Jun 2024 12:09:25 +1000 Subject: drop glsl version --- assets/shaders/blinn_phong.frag | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'assets/shaders/blinn_phong.frag') diff --git a/assets/shaders/blinn_phong.frag b/assets/shaders/blinn_phong.frag index f7c4322..267c71b 100644 --- a/assets/shaders/blinn_phong.frag +++ b/assets/shaders/blinn_phong.frag @@ -1,4 +1,4 @@ -#version 410 core +#version 430 core out vec4 FragColor; // A Blinn-Phong material with textures for diffuse and specular @@ -94,4 +94,4 @@ vec3 CalcPointLight(PointLight light, vec3 normal, vec3 fragPos, vec3 viewDir) diffuse *= attentuation; specular *= attentuation; return (ambient + diffuse + specular); -} \ No newline at end of file +} -- cgit v1.2.3-70-g09d2