glava-ridged/shaders/glava/wave.glsl

11 lines
348 B
Plaintext
Raw Normal View History

2023-09-07 16:16:06 -06:00
/* Min (vertical) line thickness */
#define MIN_THICKNESS 1
/* Max (vertical) line thickness */
#define MAX_THICKNESS 6
/* Base color to use, distance from center will multiply the RGB components */
#define BASE_COLOR @fg:vec4(0.7, 0.2, 0.45, 1)
/* Amplitude */
#define AMPLIFY 500
/* Outline color */
#define OUTLINE @bg:vec4(0.15, 0.15, 0.15, 1)