refactoring shader configs
This commit is contained in:
12
shaders/wave.glsl
Normal file
12
shaders/wave.glsl
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
/* min (vertical) line thickness */
|
||||
#define MIN_THICKNESS 1
|
||||
|
||||
/* max (vertical) line thickness */
|
||||
#define MAX_THICKNESS 10
|
||||
|
||||
/* base color to use, distance from center will multiply the RGB components */
|
||||
#define BASE_COLOR vec4(0.7, 0.2, 0.45, 1)
|
||||
|
||||
/* amplitude */
|
||||
#define AMPLIFY 500
|
||||
Reference in New Issue
Block a user