Ignore:
Timestamp:
Sep 2, 2012, 5:35:13 PM (8 years ago)
Author:
rez
Message:

scrollable option list in setup

File:
1 edited

Legend:

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

    r1843 r1858  
    2424
    2525        vec3 copper=vec3(0.5);
     26
    2627        copper.x+=0.5*cos(p.y*float(screen_size.y/64)+time*2.0);
    2728        copper.z+=0.5*sin(p.y*float(screen_size.y/64)+time*2.0);
    2829
    29         copper*=0.75+0.375*cos(p.y*float(screen_size.y/6)-time*2.0);
     30        copper*=0.75+0.375*cos(p.y*float(screen_size.x/8)-time*2.0);
    3031
    31         /*
    3232        copper.x=float(int(copper.x*8.0)*32)/256.0;
    3333        copper.y=float(int(copper.y*8.0)*32)/256.0;
    3434        copper.z=float(int(copper.z*8.0)*32)/256.0;
    35         */
    3635
    37         gl_FragColor=vec4((dot(color,color)==1.0)?copper:color,1.0);
     36        gl_FragColor=vec4((color==1.0)?copper:color,1.0);
    3837        }
Note: See TracChangeset for help on using the changeset viewer.