Changeset 1916


Ignore:
Timestamp:
Sep 14, 2012, 3:49:56 PM (7 years ago)
Author:
rez
Message:

NEERCS: fixed values for ghost picture

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

Legend:

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

    r1913 r1916  
    5656
    5757    vec3 source=get_color(texture,z);
    58     vec3 g1=get_color(texture,z1-ghost1.xy);
    59     vec3 g2=get_color(texture,z2-ghost2.xy);
     58    vec3 g1=get_color(texture,z1-ghost1.xy*0.01);
     59    vec3 g2=get_color(texture,z2-ghost2.xy*0.01);
    6060
    6161    vec3 c=source+g1*ghost1.w+g2*ghost2.w;                   // mix
  • trunk/tools/neercs/video/render.cpp

    r1915 r1916  
    8989/* shader variable */
    9090vec2 buffer(0.7f,0.3f);         // [new frame mix,old frame mix]
    91 vec2 remanency(0.5f,0.5f);      // remanency [source mix,buffer mix]
     91vec2 remanency(0.6f,0.4f);      // remanency [source mix,buffer mix]
    9292vec2 glow_mix(0.7f,0.3f);       // glow mix [source mix,glow mix]
    9393vec2 glow_large(3.0f,0.0f);     // large glow radius [center,corner]
     
    101101vec3 noise_retrace(1.0f,1.0f,0.5f);   // retrace [strength,length,speed]
    102102vec2 postfx_deform(0.7f,0.54f);       // deformation [ratio,zoom]
    103 float postfx_vignetting = 0.0f;       // vignetting strength
     103float postfx_vignetting = 0.5f;       // vignetting strength
    104104float postfx_aberration = 4.0f;       // chromatic aberration
    105 vec4 postfx_ghost1(0.01f,0.0f,0.0f,-0.15f);     // ghost picture 1 [position x,position y,position z,strength]
    106 vec4 postfx_ghost2(0.02f,0.0f,0.0f,0.15f);      // ghost picture 2 [position x,position y,position z,strength]
     105vec4 postfx_ghost1(1.0f,0.0f,0.0f,-0.25f);      // ghost picture 1 [position x,position y,position z,strength]
     106vec4 postfx_ghost2(1.5f,0.0f,0.0f,0.25f);       // 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]
     
    291291        vec4(0),
    292292    vec4(0), /* ghost */
    293         vec4(-0.5f, 0.5f, 0.01f, postfx_ghost1.x),
    294         vec4(-0.5f, 0.5f, 0.01f, postfx_ghost1.y),
     293        vec4(-2.0f, 2.0f, 0.10f, postfx_ghost1.x),
     294        vec4(-2.0f, 2.0f, 0.10f, postfx_ghost1.y),
    295295        vec4(-2.0f, 2.0f, 0.10f, postfx_ghost1.z),
    296296        vec4(-1.0f, 1.0f, 0.05f, postfx_ghost1.w),
    297         vec4(-0.5f, 0.5f, 0.01f, postfx_ghost2.x),
    298         vec4(-0.5f, 0.5f, 0.01f, postfx_ghost2.y),
     297        vec4(-2.0f, 2.0f, 0.10f, postfx_ghost2.x),
     298        vec4(-2.0f, 2.0f, 0.10f, postfx_ghost2.y),
    299299        vec4(-2.0f, 2.0f, 0.10f, postfx_ghost2.z),
    300300        vec4(-1.0f, 1.0f, 0.05f, postfx_ghost2.w),
Note: See TracChangeset for help on using the changeset viewer.