Este site funciona melhor com JavaScript.
Página inicial
Ajuda
Acessar
cacalabs
/
neercs
espelhamento de
https://github.com/cacalabs/neercs.git
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Versões
0
Wiki
Atividade
Ver código fonte
neercs: minor syntax fix in copper shader.
master
Sam Hocevar
13 anos atrás
pai
138666c04e
commit
ff8138b3d6
1 arquivos alterados
com
2 adições
e
2 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+2
-2
neercs/video/copper.lolfx
+ 2
- 2
neercs/video/copper.lolfx
Ver arquivo
@@ -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);
}
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar