You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#version 450
|
|
|
|
layout(location = 0) in vec4 cool;
|
|
layout(location = 1) in vec2 yep;
|
|
layout(location = 2) in float monkey;
|
|
layout(location = 0) out vec4 f_color;
|
|
|
|
void main() {
|
|
vec4 t = cool;
|
|
t.yw += yep;
|
|
t.x -= monkey;
|
|
f_color = t;
|
|
}
|