Initial commit
This commit is contained in:
16
internal/asset/shader/framewire.vert
Normal file
16
internal/asset/shader/framewire.vert
Normal file
@@ -0,0 +1,16 @@
|
||||
#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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user