13 lines
272 B
GLSL
13 lines
272 B
GLSL
#version 450
|
|
#include "common.glsl"
|
|
|
|
vec2 hardcoded_positions[3] = vec2[](
|
|
vec2(0.0, -0.5),
|
|
vec2(0.5, 0.5),
|
|
vec2(-0.5, 0.5)
|
|
);
|
|
|
|
void main() {
|
|
vec2 current_Position = hardcoded_positions[gl_VertexIndex];
|
|
gl_Position = vec4(current_Position, 0.0, 1.0);
|
|
} |