mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-13 03:09:57 +01:00
14 lines
230 B
GLSL
14 lines
230 B
GLSL
#version 330 core
|
|
|
|
out vec4 FragColor;
|
|
|
|
in vec4 vertexColor;
|
|
|
|
uniform vec4 color; // drawing color
|
|
uniform vec3 iResolution; // viewport resolution (in pixels)
|
|
|
|
void main()
|
|
{
|
|
FragColor = color * vertexColor;
|
|
}
|