Changeset 1861


Ignore:
Timestamp:
Sep 3, 2012, 12:57:24 AM (7 years ago)
Author:
sam
Message:

neercs: minor syntax fix in copper shader.

File:
1 edited

Legend:

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

    r1858 r1861  
    3434        copper.z=float(int(copper.z*8.0)*32)/256.0;
    3535
    36         gl_FragColor=vec4((color==1.0)?copper:color,1.0);
     36        gl_FragColor=vec4((dot(color,color)==1.0)?copper:color,1.0);
    3737        }
Note: See TracChangeset for help on using the changeset viewer.