niri: add custom animations for window opening and resizing

Signed-off-by: faukah <fau@faukah.com>
Change-Id: I6a6a69647336104b507fbba5b82de23684e60291
This commit is contained in:
faukah 2025-07-29 22:40:30 +02:00
commit b37855a6b2
4 changed files with 75 additions and 10 deletions

View file

@ -0,0 +1,5 @@
vec4 resize_color(vec3 coords_curr_geo, vec3 size_curr_geo) {
vec3 coords_tex_next = niri_geo_to_tex_next * coords_curr_geo;
vec4 color = texture2D(niri_tex_next, coords_tex_next.st);
return color;
}