降低所有背景的亮度,优化部分背景性能
This commit is contained in:
@@ -16,6 +16,7 @@ function back.update(dt)
|
||||
t=t+dt
|
||||
end
|
||||
function back.draw()
|
||||
gc.clear(.1,.1,.1)
|
||||
shader:send("t",t)
|
||||
gc.setShader(shader)
|
||||
gc.rectangle('fill',0,0,SCR.w,SCR.h)
|
||||
|
||||
Reference in New Issue
Block a user