wiki: Fix custom shader examples
Browse files at this commit55e550262dcde29b0e0332e257008029b146a97fParent: e5ccc931 changed file +1 -5
wiki/Configuration:-Animations.mdmodified+1 -5
| @@ -188,9 +188,7 @@ Example: close will fill the current geometry with a solid gradient that gradual | ||
| 188 | 188 | |
| 189 | 189 | ``` |
| 190 | 190 | animations { |
| 191 | - window-resize { | |
| 192 | - spring damping-ratio=1.0 stiffness=800 epsilon=0.0001 | |
| 193 | - | |
| 191 | + window-close { | |
| 194 | 192 | custom-shader r" |
| 195 | 193 | vec4 close_color(vec3 coords_geo, vec3 size_geo) { |
| 196 | 194 | vec4 color = vec4(0.0); |
| @@ -286,8 +284,6 @@ Example: resize will show the next (after resize) window texture right away, str | ||
| 286 | 284 | ``` |
| 287 | 285 | animations { |
| 288 | 286 | window-resize { |
| 289 | - spring damping-ratio=1.0 stiffness=800 epsilon=0.0001 | |
| 290 | - | |
| 291 | 287 | custom-shader r" |
| 292 | 288 | vec4 resize_color(vec3 coords_curr_geo, vec3 size_curr_geo) { |
| 293 | 289 | vec3 coords_tex_next = niri_geo_to_tex_next * coords_curr_geo; |