veloren/assets/voxygen/shaders/trail-vert.glsl
2023-10-18 21:50:40 +01:00

14 lines
215 B
GLSL

#version 430 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);
}