mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-05 05:05:57 +01:00
13 lines
239 B
GLSL
13 lines
239 B
GLSL
|
uniform mat3 proj;
|
||
|
uniform vec4 color;
|
||
|
attribute vec2 pos;
|
||
|
attribute vec2 texcoord;
|
||
|
varying vec4 v_color;
|
||
|
varying vec2 v_texcoord;
|
||
|
|
||
|
void main() {
|
||
|
gl_Position = vec4(proj * vec3(pos, 1.0), 1.0);
|
||
|
v_color = color;
|
||
|
v_texcoord = texcoord;
|
||
|
}
|