gpu rendered light wip

This commit is contained in:
minjaesong
2019-01-29 02:21:22 +09:00
parent 45fa56cb23
commit b842780761
9 changed files with 440 additions and 176 deletions

View File

@@ -12,7 +12,6 @@ import com.badlogic.gdx.graphics.glutils.ShaderProgram
import com.badlogic.gdx.graphics.glutils.ShapeRenderer
import com.badlogic.gdx.math.Matrix4
import net.torvald.terrarum.gamecontroller.KeyToggler
import kotlin.system.measureNanoTime
/**
* Must be called by the App Loader
@@ -52,7 +51,7 @@ object PostProcessor {
AppLoader.debugTimers["Renderer.PostProcessor"] = measureNanoTime {
AppLoader.measureDebugTime("Renderer.PostProcessor") {
gdxClearAndSetBlend(.094f, .094f, .094f, 0f)