Have the first geom shader working that will explode the box.
This commit is contained in:
parent
c4c808f3c5
commit
22c2b78fca
13 changed files with 153 additions and 20 deletions
11
26-geometry-shaders/shaders/26-framebuffers.frag.glsl
Normal file
11
26-geometry-shaders/shaders/26-framebuffers.frag.glsl
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#version 330 core
|
||||
out vec4 FragColor;
|
||||
|
||||
in vec2 TexCoords;
|
||||
|
||||
uniform sampler2D texture1;
|
||||
|
||||
void main()
|
||||
{
|
||||
FragColor = texture(texture1, TexCoords);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue