• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Go で書き直した Ikemen


Commit MetaInfo

Revision2ef7d0616b9af8cd20de3b58d34418903ae913d5 (tree)
Zeit2019-01-08 14:08:20
Autorsuehiro <supersuehiro@user...>
Commitersuehiro

Log Message

透明カラーがずれないように修正

Ändern Zusammenfassung

Diff

--- a/src/render.go
+++ b/src/render.go
@@ -29,7 +29,7 @@ func RenderInit() {
2929 "uniform vec3 mul;" +
3030 "void main(void){" +
3131 "float r = texture2D(tex, gl_TexCoord[0].st).r;" +
32- "if(int(255.0*r) == msk){" +
32+ "if(int(255.25*r) == msk){" +
3333 " gl_FragColor = vec4(0.0);" +
3434 "}else{" +
3535 " vec4 c = texture1D(pal, r*0.9961);" +