mightymandel v16

GPU-based Mandelbrot set explorer

fp32_colour2_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 
8 uniform sampler2D rgb;
9 
13 smooth in vec2 t;
14 
18 out layout(location = 0, index = 0) vec4 c;
19 
23 void main() {
24  c = vec4(texture(rgb, t).rgb, 1.0);
25 }