Changeset 1915


Ignore:
Timestamp:
Sep 14, 2012, 1:51:33 AM (7 years ago)
Author:
rez
Message:

NEERCS: fixed problems with color

Location:
trunk/tools/neercs/video
Files:
3 edited

Legend:

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

    r1913 r1915  
    2727    c=mix(c,vec3(a),color.w);                                // grayscale
    2828    c*=filter;                                               // filter
    29     c+=color.z;                                              // level
     29    c+=color.z*0.1;                                          // level
    3030    c*=color.x;                                              // brightness
    3131    c=0.5+(c-0.5)*color.y;                                   // contrast
  • trunk/tools/neercs/video/render.cpp

    r1913 r1915  
    9090vec2 buffer(0.7f,0.3f);         // [new frame mix,old frame mix]
    9191vec2 remanency(0.5f,0.5f);      // remanency [source mix,buffer mix]
    92 vec2 glow_mix(0.5f,0.5f);       // glow mix [source mix,glow mix]
     92vec2 glow_mix(0.7f,0.3f);       // glow mix [source mix,glow mix]
    9393vec2 glow_large(3.0f,0.0f);     // large glow radius [center,corner]
    9494vec2 glow_small(1.5f,0.0f);     // small glow radius [center,corner]
     
    9696vec4 copper(0.125,0.125,32,64); // copper [base,variable,repeat x,repeat y]
    9797vec3 color_filter(0.9f,0.9f,1.0f);    // color filter [red,green,blue]
    98 vec4 color_color(1.25f,1.0f,0.0f,0.35f);        // color modifier [brightness,contrast,level,grayscale]
     98vec4 color_color(1.5f,1.2f,0.1f,0.35f);         // color modifier [brightness,contrast,level,grayscale]
    9999vec2 noise_offset(2.0f,2.0f);         // random line [horizontal,vertical]
    100100float noise_noise = 0.25f;            // noise
     
    103103float postfx_vignetting = 0.0f;       // vignetting strength
    104104float postfx_aberration = 4.0f;       // chromatic aberration
    105 vec4 postfx_ghost1(0.0f,0.0f,-2.0f,-0.15f);     // ghost picture 1 [position x,position y,position z,strength]
    106 vec4 postfx_ghost2(0.0f,0.0f,2.0f,0.15f);       // ghost picture 2 [position x,position y,position z,strength]
     105vec4 postfx_ghost1(0.01f,0.0f,0.0f,-0.15f);     // ghost picture 1 [position x,position y,position z,strength]
     106vec4 postfx_ghost2(0.02f,0.0f,0.0f,0.15f);      // ghost picture 2 [position x,position y,position z,strength]
    107107vec4 postfx_moire_h(0.75f,-0.25f,0.0f,1.0f);    // vertical moire [base,variable,repeat,shift]
    108108vec4 postfx_moire_v(0.75f,-0.25f,1.0f,1.5f);    // horizontal moire [base,variable,repeat,shift]
     
    551551    m_shader_blur(true),
    552552    m_shader_remanency(true),
    553     m_shader_copper(true),
     553    m_shader_copper(false),
    554554    m_shader_color(true),
    555555    m_shader_noise(true),
  • trunk/tools/neercs/video/text.lolfx

    r1867 r1915  
    5151#endif
    5252
    53     pass_Background = vec4(B, C, D, 1.0 - A);
     53    pass_Background = vec4(0.125, 0.125, 0.125, 1.0 - A);//vec4(B, C, D, 1.0 - A);
    5454    pass_Foreground = vec4(F, G, H, 1.0 - E);
    5555    if (B + C + D < 0.01) A = 1.0;
Note: See TracChangeset for help on using the changeset viewer.