veloren/assets/voxygen/shaders/trail-vert.glsl

14 lines
215 B
Plaintext
Raw Normal View History

#version 420 core
#include <globals.glsl>
layout(location = 0) in vec3 v_pos;
layout(location = 0) out vec3 f_pos;
void main() {
2022-01-26 03:13:16 +00:00
f_pos = v_pos;
2022-01-27 03:03:52 +00:00
gl_Position = all_mat * vec4(f_pos - focus_off.xyz, 1);
}