22 lines
606 B
GLSL
22 lines
606 B
GLSL
|
|
/* center line thickness (pixels) */
|
|
#define C_LINE 1
|
|
|
|
/* width (in pixels) of each bar */
|
|
#define BAR_WIDTH 4
|
|
/* width (in pixels) of each bar gap */
|
|
#define BAR_GAP 2
|
|
/* outline color */
|
|
#define BAR_OUTLINE #262626
|
|
/* outline width (in pixels, set to 0 to disable outline drawing) */
|
|
#define BAR_OUTLINE_WIDTH 0
|
|
/* Amplify magnitude of the results each bar displays */
|
|
#define AMPLIFY 300
|
|
/* Bar color */
|
|
#define COLOR (#3366b2 * ((d / 60) + 1))
|
|
/* Direction that the bars are facing, 0 for inward, 1 for outward */
|
|
#define DIRECTION 0
|
|
/* Whether to switch left/right audio buffers */
|
|
#define INVERT 0
|
|
|