17 lines
177 B
GLSL
17 lines
177 B
GLSL
|
|
||
|
#include "version.glsl"
|
||
|
|
||
|
out vec4 f_colour;
|
||
|
|
||
|
in VS_OUT {
|
||
|
vec4 pos;
|
||
|
vec4 colour;
|
||
|
} vin;
|
||
|
|
||
|
uniform mat4 u_colour = mat4(1);
|
||
|
|
||
|
void main() {
|
||
|
f_colour = u_colour * vin.colour;
|
||
|
}
|
||
|
|