mirror of https://github.com/sotrh/learn-wgpu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
137 B
GLSL
8 lines
137 B
GLSL
4 years ago
|
#version 450
|
||
|
|
||
|
layout(location=0) in vec3 v_color;
|
||
|
layout(location=0) out vec4 f_color;
|
||
|
|
||
|
void main() {
|
||
|
f_color = vec4(v_color, 1.0);
|
||
|
}
|