diff options
author | Omniscient <omniscient.oce@gmail.com> | 2024-06-07 12:09:25 +1000 |
---|---|---|
committer | Omniscient <omniscient.oce@gmail.com> | 2024-06-07 12:09:25 +1000 |
commit | 34cfaac69eda7eae258d004e4cafd5a816cf9b67 (patch) | |
tree | e7341c20d9f7a0620d9f1f926ce51822f954b5b0 /assets/shaders/blinn_phong.frag | |
parent | 59854f60b761d77cee4095c9ce45062c926dea5a (diff) |
drop glsl version
Diffstat (limited to 'assets/shaders/blinn_phong.frag')
-rw-r--r-- | assets/shaders/blinn_phong.frag | 4 |
1 files changed, 2 insertions, 2 deletions
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 +} |