mirror of
https://github.com/stanislawfortonski/Procedural-Terrain-Generator-OpenGL.git
synced 2025-08-06 19:44:09 +08:00
16 lines
268 B
GLSL
16 lines
268 B
GLSL
//Copyright (c) 2020 by Stan Fortoński
|
|
#version 410 core
|
|
|
|
layout (location = 0) in vec2 aPos;
|
|
layout (location = 1) in vec2 aTexCoords;
|
|
|
|
out vec2 texCoords;
|
|
|
|
uniform mat4 model;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = model * vec4(aPos, 0.0, 1.0);
|
|
texCoords = aTexCoords;
|
|
}
|