feat: eww hypr alacritty and more
This commit is contained in:
parent
7fb4f9ee73
commit
99f7c60db7
431 changed files with 9853 additions and 23 deletions
25
recidia/shaders/bounce.vert
Normal file
25
recidia/shaders/bounce.vert
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#version 450
|
||||
|
||||
layout(location = 0) in vec3 inPosition;
|
||||
layout(location = 1) in vec4 inColor;
|
||||
|
||||
layout(location = 0) out vec4 fragColor;
|
||||
|
||||
layout(push_constant) uniform PushConstants {
|
||||
float time;
|
||||
float power;
|
||||
} constants;
|
||||
|
||||
// Reduced init size of vertex to allow for room to bounce
|
||||
#define INIT_SIZE 0.75
|
||||
// Separate power modifier
|
||||
#define POWER 0.35
|
||||
|
||||
void main() {
|
||||
vec3 pos = inPosition;
|
||||
pos *= INIT_SIZE;
|
||||
pos *= 1.0 + (constants.power * POWER);
|
||||
|
||||
gl_Position = vec4(pos, 1.0);
|
||||
fragColor = inColor;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue