Skip to content

Instantly share code, notes, and snippets.

View synchrok's full-sized avatar
🙂

Woosung Jeon synchrok

🙂
  • Awesomepiece
  • Seoul, South Korea
View GitHub Profile
@synchrok
synchrok / LerpBlurA.java
Last active December 17, 2015 00:28 — forked from mattdesl/LerpBlurA.java
Pixmap's width and height have to same for blur with using this way (LerpBlurA) so I fixed this problem (make pixmap to same width and height).
import com.badlogic.gdx.ApplicationListener;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.badlogic.gdx.graphics.GL10;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.Pixmap;
import com.badlogic.gdx.graphics.Pixmap.Format;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.Texture.TextureFilter;