Start day 26 Advanced Data and Advanced GLSL.
This commit is contained in:
parent
9310215aa3
commit
6c542eb014
119 changed files with 15705 additions and 0 deletions
11
26-advanced-data-glsl/shaders/4.2.texture.fs
Normal file
11
26-advanced-data-glsl/shaders/4.2.texture.fs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#version 330 core
|
||||
|
||||
out vec4 FragColor;
|
||||
in vec2 TexCoord;
|
||||
|
||||
uniform sampler2D texture1;
|
||||
|
||||
void main()
|
||||
{
|
||||
FragColor = texture(texture1, TexCoord);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue