• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签

Frequently used words (click to add to your profile)

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

Go で書き直した Ikemen


Commit MetaInfo

修订版2ef7d0616b9af8cd20de3b58d34418903ae913d5 (tree)
时间2019-01-08 14:08:20
作者suehiro <supersuehiro@user...>
Commitersuehiro

Log Message

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

更改概述

差异

--- 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);" +