mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
14 lines
215 B
GLSL
14 lines
215 B
GLSL
#version 440 core
|
|
|
|
#include <globals.glsl>
|
|
|
|
layout(location = 0) in vec3 v_pos;
|
|
|
|
layout(location = 0) out vec3 f_pos;
|
|
|
|
void main() {
|
|
f_pos = v_pos;
|
|
|
|
gl_Position = all_mat * vec4(f_pos - focus_off.xyz, 1);
|
|
}
|