texture.setInternalFormat(GltfConstants.GL_RGBA); texture.setSource(imageId); texture.setTarget(GltfConstants.GL_TEXTURE_2D); texture.setType(GltfConstants.GL_UNSIGNED_BYTE); texture.setSampler(samplerId);
texture.setInternalFormat(GltfConstants.GL_RGBA); texture.setSource(imageId); texture.setTarget(GltfConstants.GL_TEXTURE_2D); texture.setType(GltfConstants.GL_UNSIGNED_BYTE); texture.setSampler(samplerId);