~mika/sofa

ref: 3922037a9e512d81be901f99d314921ed5a69d7c sofa/shaders/present.vrt.glsl -rw-r--r-- 204 bytes
3922037a — m1ka Add licensing + fix last memory mgmt issue 27 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
#version 330 core

layout (location = 0) in vec3 vPos;
layout (location = 1) in vec2 vTex;

out vec2 sTexCoord;

void main() {
    gl_Position = vec4(vPos.x, vPos.y, vPos.z, 1.0);
    sTexCoord = vTex;
}