Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix background aura thingy

  • Loading branch information...
commit 461763bab7fe90afedb72d74097baf19e95a4622 1 parent e1f2a4c
nicolas garcia belmonte authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  examples/groups/surface.fs.glsl
2  examples/groups/surface.fs.glsl
@@ -679,7 +679,7 @@ void main(void) {
679 679
680 680 //add a radial blend
681 681 vec4 colorFrom = color;
682   - vec4 colorTo = vec4(background.rgb * radialFactor, 1);
  682 + vec4 colorTo = vec4(mix(background.rgb, colorFrom.rgb, radialFactor), 1);
683 683 vec2 uv = gl_FragCoord.xy / resolution.xy;
684 684 float ratio = resolution.y / resolution.x;
685 685 vec2 center = vec2(.5, .5);

0 comments on commit 461763b

Please sign in to comment.
Something went wrong with that request. Please try again.