This website works better with JavaScript.
Home
Help
Sign In
cacalabs
/
neercs
mirror of
https://github.com/cacalabs/neercs.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
neercs: fix an illegal construct in the copper shader.
master
Sam Hocevar
12 years ago
parent
12883054aa
commit
023d31848b
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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);
}
Write
Preview
Loading…
Cancel
Save