terravisor/shaders/vertex.glsl

14 lines
271 B
Plaintext
Raw Permalink Normal View History

2024-08-15 13:53:52 -04:00
#version 450 core
layout(location = 0) in vec3 posAttrib;
layout(location = 1) in vec2 texCoordAttrib;
2024-08-12 21:40:37 -04:00
2024-08-15 13:53:52 -04:00
out VS_OUT {
vec3 position;
vec2 texCoord;
} vs_out;
2024-08-15 00:56:29 -04:00
void main() {
vs_out.position = (vec4(posAttrib, 1.0f)).xyz;
vs_out.texCoord = texCoordAttrib;
2024-08-15 13:53:52 -04:00
}