4 attribute vec3 VertexCoord;
6 varying vec3 fragVertexEc;
8 float iqhash(
float n )
10 return fract(
sin(
n)*43758.5453);
18 float n =
p.x +
p.y*57.0 + 113.0*
p.z;
19 return mix(mix(mix( iqhash(
n+0.0 ), iqhash(
n+1.0 ),
f.x),
20 mix( iqhash(
n+57.0 ), iqhash(
n+58.0 ),
f.x),
f.y),
21 mix(mix( iqhash(
n+113.0), iqhash(
n+114.0),
f.x),
22 mix( iqhash(
n+170.0), iqhash(
n+171.0),
f.x),
f.y),
f.z);
25 float xmb_noise2( vec3
x )
32 vec3
v = vec3(VertexCoord.x, 0.0, VertexCoord.y);
36 v.y = xmb_noise2(
v2)/8.0;
44 v.z =
v.z + noise(
v3*7.0)/15.0;
45 v.y =
v.y + noise(
v3*7.0)/15.0 +
cos(
v.x*2.0-
time/2.0)/5.0 - 0.3;
GLfloat f
Definition: glext.h:8207
#define floor(x)
Definition: math.h:25
#define GLSL(src)
Definition: shaders_common.h:10
GLfloat GLfloat GLfloat v2
Definition: glext.h:6703
static const char * stock_vertex_xmb_ribbon_legacy
Definition: legacy_pipeline_xmb_ribbon.glsl.vert.h:3
time_t time(time_t *timer)
GLint GLint GLint GLint GLint x
Definition: glext.h:6295
GLfloat GLfloat p
Definition: glext.h:9809
#define sin(x)
Definition: math.h:23
int main(int argc, char *argv[])
Definition: send-presence.c:197
const GLdouble * v
Definition: glext.h:6391
#define cos(x)
Definition: math.h:21
GLfloat GLfloat GLfloat GLfloat v3
Definition: glext.h:6704
#define gl_Position
Definition: internal_interface.hpp:385
GLdouble n
Definition: glext.h:8396