10 lines
150 B
GLSL
10 lines
150 B
GLSL
#version 330 core
|
|
|
|
in vec2 location;
|
|
void main() {
|
|
|
|
vec4 position = inverse(location);
|
|
|
|
fragColor = vec4(position.x, position.y, 0.0, 1.0);
|
|
|
|
} |