mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-07 09:13:22 +08:00
Updated source code files of skeletal animation guest article.
This commit is contained in:
11
src/8.guest/2020/skeletal_animation/anim_model.fs
Normal file
11
src/8.guest/2020/skeletal_animation/anim_model.fs
Normal file
@@ -0,0 +1,11 @@
|
||||
#version 430 core
|
||||
out vec4 FragColor;
|
||||
|
||||
in vec2 TexCoords;
|
||||
|
||||
uniform sampler2D texture_diffuse1;
|
||||
|
||||
void main()
|
||||
{
|
||||
FragColor = texture(texture_diffuse1, TexCoords);
|
||||
}
|
||||
Reference in New Issue
Block a user