refactoring shader configs

This commit is contained in:
Jarcode
2017-12-02 14:00:39 -08:00
parent 8c3d9a76ea
commit d0aec12eaf
5 changed files with 38 additions and 36 deletions

12
shaders/wave.glsl Normal file
View 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