niri: add custom animations for window opening and resizing
Signed-off-by: faukah <fau@faukah.com> Change-Id: I6a6a69647336104b507fbba5b82de23684e60291
This commit is contained in:
parent
e4dc42c2f9
commit
b37855a6b2
4 changed files with 75 additions and 10 deletions
5
modules/wms/niri/window-resize.glsl
Normal file
5
modules/wms/niri/window-resize.glsl
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue