This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.grashers.core.utilities.vfx.effects; | |
import com.badlogic.gdx.Gdx; | |
import com.badlogic.gdx.graphics.Texture; | |
import com.crashinvaders.vfx.VfxRenderContext; | |
import com.crashinvaders.vfx.effects.ChainVfxEffect; | |
import com.crashinvaders.vfx.effects.ShaderVfxEffect; | |
import com.crashinvaders.vfx.framebuffer.VfxFrameBuffer; | |
import com.crashinvaders.vfx.framebuffer.VfxPingPongWrapper; | |
import com.crashinvaders.vfx.gl.VfxGLUtils; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.grashers.core.ui.scene2d.actions; | |
import com.badlogic.gdx.scenes.scene2d.Action; | |
import com.badlogic.gdx.scenes.scene2d.Actor; | |
import com.badlogic.gdx.utils.Pool; | |
import com.grashers.core.app.Game; | |
/** Executes another action until it returns true and ensures such action is never run after its completed. */ | |
public class ConsumableAction extends Action { | |
protected Action action; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.badlogic.gdx.Gdx; | |
import com.badlogic.gdx.graphics.GL20; | |
import com.badlogic.gdx.graphics.Texture; | |
import com.badlogic.gdx.utils.BufferUtils; | |
import java.nio.FloatBuffer; | |
public class Anisotropy { | |
private static boolean anisotropySupported = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.grashers.core.postprocessing; | |
import com.badlogic.gdx.graphics.glutils.FrameBuffer; | |
import com.bitfire.postprocessing.PostProcessorEffect; | |
public final class DistortedTvEffect extends PostProcessorEffect { | |
private DistortedTvFilter distortion; | |
public DistortedTvEffect(int effectsSupport) { | |
distortion = new DistortedTvFilter(effectsSupport); |