gl01/internal/asset/shader/framewire.vert

17 lines
239 B
GLSL
Raw Permalink Normal View History

2022-01-20 21:58:50 +08:00
#version 330
uniform mat4 projection;
uniform mat4 view;
uniform mat4 model;
in vec3 vert;
in vec4 vertColor;
out vec4 fragColor;
void main() {
fragColor = vertColor;
gl_Position = projection * view * model * vec4(vert, 1);
}