Permalink
Browse files

fix background aura thingy

  • Loading branch information...
1 parent e1f2a4c commit 461763bab7fe90afedb72d74097baf19e95a4622 @philogb committed Oct 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/groups/surface.fs.glsl
@@ -679,7 +679,7 @@ void main(void) {
//add a radial blend
vec4 colorFrom = color;
- vec4 colorTo = vec4(background.rgb * radialFactor, 1);
+ vec4 colorTo = vec4(mix(background.rgb, colorFrom.rgb, radialFactor), 1);
vec2 uv = gl_FragCoord.xy / resolution.xy;
float ratio = resolution.y / resolution.x;
vec2 center = vec2(.5, .5);

0 comments on commit 461763b

Please sign in to comment.