소스 검색

neercs: fix an illegal construct in the copper shader.

master
Sam Hocevar 12 년 전
부모
커밋
023d31848b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      neercs/video/copper.lolfx

+ 2
- 2
neercs/video/copper.lolfx 파일 보기

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

불러오는 중...
취소
저장