Пример #1
0
 @Override
 protected Cubemap createColorTexture() {
   Cubemap result = new Cubemap(width, height, width, format);
   result.setFilter(TextureFilter.Linear, TextureFilter.Linear);
   result.setWrap(TextureWrap.ClampToEdge, TextureWrap.ClampToEdge);
   return result;
 }
Пример #2
0
 @Override
 protected void disposeColorTexture(Cubemap colorTexture) {
   colorTexture.dispose();
 }