Explorar el Código

neercs: fix an illegal construct in the copper shader.

master
Sam Hocevar hace 12 años
padre
commit
023d31848b
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      neercs/video/copper.lolfx

+ 2
- 2
neercs/video/copper.lolfx Ver fichero

@@ -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);
}

Cargando…
Cancelar
Guardar