本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
說明
登入
cacalabs
/
neercs
镜像来自
https://github.com/cacalabs/neercs.git
關注
1
收藏
0
複製
0
程式碼
問題
0
版本發佈
0
Wiki
活動
瀏覽代碼
neercs: fix an illegal construct in the copper shader.
master
Sam Hocevar
12 年之前
父節點
12883054aa
當前提交
023d31848b
共有
1 個檔案被更改
,包括
2 行新增
和
2 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+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);
}
Write
Preview
Loading…
取消
儲存