mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
10 lines
207 B
GLSL
10 lines
207 B
GLSL
#version 330 core
|
|
|
|
layout (location = 0) in vec2 v_position;
|
|
|
|
uniform float u_ar;
|
|
uniform float u_scale;
|
|
|
|
void main(){
|
|
gl_Position = vec4(v_position.x * u_ar * u_scale, v_position.y * u_scale, 0.0, 1.0);
|
|
}
|