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.
22 lines
285 B (Stored with Git LFS)
22 lines
285 B (Stored with Git LFS)
#version 330 core |
|
|
|
in vec3 frag_vertex; |
|
in vec3 frag_normal; |
|
in vec3 frag_uv; |
|
in vec3 frag_color; |
|
|
|
out vec4 color; |
|
|
|
layout (std140) uniform matrices |
|
{ |
|
mat4 view_xform; |
|
mat4 proj_xform; |
|
mat4 normal_xform; |
|
}; |
|
|
|
uniform mat4 model_xform; |
|
|
|
void main() |
|
{ |
|
color = vec4(1, 0.5, 0.2, 1); |
|
}
|
|
|