LearnOpenGL/shader.fs
Nigel 3d4d81f260 Added stencil testing
This demo show how to draw an outline around
an object.... very cool ! :)
2022-02-22 21:52:44 +01:00

11 lines
167 B
GLSL

#version 460 core
out vec4 FragColor;
in vec2 TexCoords;
uniform sampler2D texture_diffuse1;
void main()
{
FragColor = texture( texture_diffuse1, TexCoords) ;
}