added a model class
This commit is contained in:
parent
0bdca85075
commit
1278395851
12 changed files with 444 additions and 180 deletions
11
resources/shaders/shader.fs
Normal file
11
resources/shaders/shader.fs
Normal file
|
@ -0,0 +1,11 @@
|
|||
#version 330 core
|
||||
out vec4 FragColor;
|
||||
|
||||
in vec2 TexCoords;
|
||||
|
||||
uniform sampler2D texture_diffuse1;
|
||||
|
||||
void main()
|
||||
{
|
||||
FragColor = texture(texture_diffuse1, TexCoords);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue