TimeCoil/shaders/shader.frag

9 lines
188 B
GLSL
Raw Permalink Normal View History

2025-01-18 03:10:32 +03:00
#version 330 core
2025-01-19 00:54:19 +03:00
in vec3 frag_col;
2025-01-18 03:10:32 +03:00
out vec4 FragColor;
2025-01-19 00:54:19 +03:00
uniform vec4 MyColor;
2025-01-18 03:10:32 +03:00
void main()
{
2025-01-19 00:54:19 +03:00
FragColor = vec4(frag_col, 1.0f);//vec4(posInWorld.x, posInWorld.y, posInWorld.z, 1.0f);
2025-01-18 03:10:32 +03:00
}