shader里部分float变量改为highp float,保证丝滑

(需要同时配合apk配置更新的gles版本为3.0)
This commit is contained in:
MrZ_26
2022-09-11 05:42:54 +08:00
parent 76d985cc0f
commit 0fc7178589
10 changed files with 15 additions and 15 deletions

View File

@@ -4,11 +4,11 @@ local shader=SHADER.aura
local t
function back.init()
t=math.random()*260
t=math.random()*2600
BG.resize(SCR.w,SCR.h)
end
function back.update(dt)
t=(t+dt)%2600
t=(t+dt)%6200
end
function back.draw()
GC.clear(.08,.08,.084)