texture.setSource(imageId); texture.setTarget(GltfConstants.GL_TEXTURE_2D); texture.setType(GltfConstants.GL_UNSIGNED_BYTE); texture.setSampler(samplerId); textureId = GltfIds.generateId("texture", gltf.getTextures());
texture.setSource(imageId); texture.setTarget(GltfConstants.GL_TEXTURE_2D); texture.setType(GltfConstants.GL_UNSIGNED_BYTE); texture.setSampler(samplerId); textureId = GltfIds.generateId("texture", gltf.getTextures());