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: minor syntax fix in copper shader.
master
Sam Hocevar
12 years ago
parent
138666c04e
commit
ff8138b3d6
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
@@ -33,5 +33,5 @@ void main(void)
copper.y=float(int(copper.y*8.0)*32)/256.0;
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