Graphite Version 3
An experimental 3D geometry processing program
Loading...
Searching...
No Matches
ShaderToy.h
1//import <GLUP/portable_fragment_shader.h>
2
3uniform float iTime;
4uniform float iFrame;
5uniform vec4 iDate;
6const vec3 iResolution=vec3(1024.0, 1024.0, 1.0);
7const vec4 iMouse=vec4(0.0, 0.0, 0.0, 0.0);
8uniform sampler2D iChannel0;
9uniform sampler2D iChannel1;
10uniform sampler2D iChannel2;
11uniform sampler2D iChannel3;
12
13void mainImage(out vec4 fragColor, in vec2 fragCoord);
14
15void main(void) {
16 mainImage(glup_FragColor, 1024.0*tex_coord.xy);
17}
vecng< 3, Numeric::float64 > vec3
Represents points and vectors in 3d.
Definition geometry.h:65
vecng< 4, Numeric::float64 > vec4
Represents points and vectors in 4d.
Definition geometry.h:71