Strange attractors with OpenCL
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 

13 lines
216 B

#version 330
uniform sampler2D tex;
uniform float maxf;
uniform float gamma;
in vec2 tex_coord_;
out vec4 fragColor;
void main(){
fragColor = pow(texture(tex, tex_coord_) / (maxf * gamma), vec4(1.0 / gamma));
}