mightymandel v16

GPU-based Mandelbrot set explorer

fp32_fillc_frag.glsl
Go to the documentation of this file.
1 // mightymandel -- GPU-based Mandelbrot Set explorer
2 // Copyright (C) 2012,2013,2014,2015 Claude Heiland-Allen
3 // License GPL3+ http://www.gnu.org/licenses/gpl.html
4 
5 uniform sampler2D ida0;
6 smooth in vec2 s;
7 smooth in vec2 t;
8 out layout(location = 0, index = 0) vec4 o;
9 void main() {
10  vec4 ida = texture(ida0, s);
11  o = vec4(t, ida.x, ida.y);
12 }