mirror of
https://github.com/Linloir/SceneEditor.git
synced 2025-12-17 15:38:11 +08:00
13 lines
184 B
GLSL
13 lines
184 B
GLSL
#version 330 core
|
|
out vec4 FragColor;
|
|
|
|
in vec3 ourColor;
|
|
in vec2 TexCoord;
|
|
|
|
// texture sampler
|
|
uniform sampler2D texture1;
|
|
|
|
void main()
|
|
{
|
|
FragColor = texture(texture1, TexCoord);
|
|
} |