ygauravyy's picture
Upload 722 files
d49f7bc verified
raw
history blame
468 Bytes
// Copyright (c) Meta Platforms, Inc. and affiliates.
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
#version 330 core
layout(location = 0) in vec3 pos;
layout(location = 2) in vec2 texCoord;
out vec3 ourColor;
out vec2 TexCoord;
uniform mat4 model;
uniform mat4 view;
uniform mat4 proj;
void main() {
gl_Position = proj * view * model * vec4(pos, 1.0);
TexCoord = texCoord;
}