List of usage examples for com.badlogic.gdx.graphics Cubemap Cubemap
public Cubemap(int width, int height, int depth, Format format)
From source file:com.microbasic.sm.tools.FrameBufferCubeMap.java
License:Apache License
/** Override this method in a derived class to set up the backing texture as you like. */ protected void setupTexture() { //Texture olorTexture = new Texture(width, height, format); colorTexture = new Cubemap(width, height, width, format); colorTexture.setFilter(TextureFilter.Linear, TextureFilter.Linear); colorTexture.setWrap(TextureWrap.ClampToEdge, TextureWrap.ClampToEdge); }