mightymandel
v16
GPU-based Mandelbrot set explorer
fp32_init_vert.glsl
Go to the documentation of this file.
1
// mightymandel -- GPU-based Mandelbrot Set explorer
2
// Copyright (C) 2012,2013,2014 Claude Heiland-Allen
3
// License GPL3+ http://www.gnu.org/licenses/gpl.html
4
5
uniform
float
radius;
6
uniform vec2 center;
7
in vec4 c;
8
out vec4 cne;
9
#ifdef DE
10
out vec4 zdz;
11
#else
12
out vec2 zdz;
13
#endif
14
void
main
() {
15
cne = vec4(radius * c.xy + center, 0.0, 0.0);
16
#ifdef DE
17
zdz = vec4(0.0, 0.0, 0.0, 0.0);
18
#else
19
zdz = vec2(0.0, 0.0);
20
#endif
21
}
src
fp32_init_vert.glsl
Generated on Mon Jan 19 2015 16:18:12 for mightymandel by
1.8.1.2