Shader is too fancy for Linux and the Makefile isn't good for Linux.
This commit is contained in:
parent
25c1c23128
commit
f82db0c6cd
2 changed files with 42 additions and 14 deletions
|
@ -6,6 +6,7 @@ uniform float u_mouse;
|
|||
uniform float value = 0.2;
|
||||
uniform bool is_error = false;
|
||||
uniform int speedup = 1;
|
||||
uniform int octaves = 8;
|
||||
|
||||
float random (in vec2 st) {
|
||||
return fract(sin(dot(st.xy,
|
||||
|
@ -29,7 +30,7 @@ float noise(in vec2 st) {
|
|||
(d - b) * u.x * u.y;
|
||||
}
|
||||
|
||||
float fbm(in vec2 st, int octaves=8) {
|
||||
float fbm(in vec2 st) {
|
||||
float v = 0.0;
|
||||
float a = 0.5;
|
||||
vec2 shift = vec2(100.0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue