Go to the source code of this file.
◆ fft_fragment_program_heightmap
const char* fft_fragment_program_heightmap |
|
static |
Initial value: }
vec3
color = mix(vec3(1.0, 0.7, 0.7) * colormap(vHeight), vec3(0.1, 0.15, 0.1),
clamp(vWorldPos.z / 400.0, 0.0, 1.0));
color = mix(
color, vec3(0.1, 0.15, 0.1),
clamp(1.0 - vWorldPos.z / 2.0, 0.0, 1.0));
FragColor = vec4(
color, 1.0);
}
)
#define GLSL_300(src)
Definition: shaders_common.h:11
struct passwd out
Definition: missing_libc_functions.c:51
#define exp(a)
Definition: math.h:32
GLenum GLint GLint * precision
Definition: glext.h:8206
GLuint in
Definition: glext.h:10523
GLenum clamp
Definition: glext.h:6856
int main(int argc, char *argv[])
Definition: send-presence.c:197
GLuint color
Definition: glext.h:6883
GLint GLint GLsizei GLsizei height
Definition: glext.h:6293