Ignore:
Timestamp:
Jul 30, 2012, 2:11:32 AM (8 years ago)
Author:
rez
Message:

moved blur after glow, tweaked a lot of parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/neercs/video/glow.lolfx

    r1672 r1683  
    1515uniform sampler2D glow;
    1616uniform sampler2D source;
    17 uniform vec3 mix;
     17uniform vec2 mix;
    1818
    1919void main(void)
    2020        {
    21         gl_FragColor=smoothstep(mix.z,1.0,texture2D(source,gl_TexCoord[0].xy))*mix.x+texture2D(glow,gl_TexCoord[0].xy)*mix.y;
     21        gl_FragColor=texture2D(source,gl_TexCoord[0].xy)*mix.x+texture2D(glow,gl_TexCoord[0].xy)*mix.y;
    2222        }
Note: See TracChangeset for help on using the changeset viewer.