imgui_glfw_opengl3_cmake_base/resources/shaders/testing.fs
2023-10-20 17:14:46 +03:00

9 lines
No EOL
158 B
GLSL

#version 330 core
out vec4 FragColor;
in vec3 fragPosition;
void main()
{
FragColor = vec4((sin(fragPosition.x * 15.0) / 2.0) + 0.5, 0.55, 0.5, 1.0);
};