List of usage examples for com.badlogic.gdx.graphics.g3d.decals DecalMaterial NO_BLEND
int NO_BLEND
To view the source code for com.badlogic.gdx.graphics.g3d.decals DecalMaterial NO_BLEND.
Click Source Link
From source file:com.github.fauu.helix.graphics.AnimatedDecal.java
License:Apache License
/** @see Decal#newDecal(TextureRegion) */ public static AnimatedDecal newAnimatedDecal(Animation animation) { return newAnimatedDecal(animation.getKeyFrame(0).getRegionWidth(), animation.getKeyFrame(0).getRegionHeight(), animation, DecalMaterial.NO_BLEND, DecalMaterial.NO_BLEND);//w w w.ja v a2 s . com }
From source file:com.github.fauu.helix.graphics.AnimatedDecal.java
License:Apache License
/** @see Decal#newDecal(TextureRegion, boolean) */ public static AnimatedDecal newDecal(Animation animation, boolean hasTransparency) { return newAnimatedDecal(animation.getKeyFrame(0).getRegionWidth(), animation.getKeyFrame(0).getRegionHeight(), animation, hasTransparency ? GL20.GL_SRC_ALPHA : DecalMaterial.NO_BLEND, hasTransparency ? GL20.GL_ONE_MINUS_SRC_ALPHA : DecalMaterial.NO_BLEND); }
From source file:com.github.fauu.helix.graphics.AnimatedDecal.java
License:Apache License
/** @see Decal#newDecal(float, float, TextureRegion) */ public static AnimatedDecal newAnimatedDecal(float width, float height, Animation animation) { return newAnimatedDecal(width, height, animation, DecalMaterial.NO_BLEND, DecalMaterial.NO_BLEND); }
From source file:com.github.fauu.helix.graphics.AnimatedDecal.java
License:Apache License
/** @see Decal#newDecal(float, float, TextureRegion, boolean) */ public static AnimatedDecal newAnimatedDecal(float width, float height, Animation animation, boolean hasTransparency) { return newAnimatedDecal(width, height, animation, hasTransparency ? GL20.GL_SRC_ALPHA : DecalMaterial.NO_BLEND, hasTransparency ? GL20.GL_ONE_MINUS_SRC_ALPHA : DecalMaterial.NO_BLEND); }