15 lines
215 B
GLSL
15 lines
215 B
GLSL
|
|
#version 460
|
|
|
|
layout (location = 0) in vec3 _pos;
|
|
layout (location = 1) in vec2 _uv_in;
|
|
|
|
out vec2 _uv_out;
|
|
|
|
uniform mat4 _transform;
|
|
|
|
void main() {
|
|
_uv_out = _uv_in;
|
|
gl_Position = _transform * vec4(_pos, 1.0);
|
|
}
|