Browse Source

neercs: fix an illegal construct in the copper shader.

master
Sam Hocevar 12 years ago
parent
commit
023d31848b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      neercs/video/copper.lolfx

+ 2
- 2
neercs/video/copper.lolfx View File

@@ -34,5 +34,5 @@ void main(void)
copper.z=float(int(copper.z*8.0)*32)/256.0;
*/

gl_FragColor=vec4((color==1.0)?copper:color,1.0);
}
gl_FragColor=vec4((dot(color,color)==1.0)?copper:color,1.0);
}

Loading…
Cancel
Save