diff --git a/ios/samples/hello-ar/hello-ar/FilamentArView/FilamentApp.cpp b/ios/samples/hello-ar/hello-ar/FilamentArView/FilamentApp.cpp index 577da87688..06ed7de433 100644 --- a/ios/samples/hello-ar/hello-ar/FilamentArView/FilamentApp.cpp +++ b/ios/samples/hello-ar/hello-ar/FilamentArView/FilamentApp.cpp @@ -100,7 +100,7 @@ void FilamentApp::setupIbl() { RESOURCES_VENETIAN_CROSSROADS_IBL_SIZE); float3 harmonics[9]; iblBundle->getSphericalHarmonics(harmonics); - app.iblTexture = image::KtxUtility::createTexture(engine, iblBundle, false, true); + app.iblTexture = image::KtxUtility::createTexture(engine, iblBundle, false); app.indirectLight = IndirectLight::Builder() .reflections(app.iblTexture) diff --git a/ios/samples/hello-gltf/hello-gltf/FilamentView/App.cpp b/ios/samples/hello-gltf/hello-gltf/FilamentView/App.cpp index 41c7c641d0..71de4c9382 100644 --- a/ios/samples/hello-gltf/hello-gltf/FilamentView/App.cpp +++ b/ios/samples/hello-gltf/hello-gltf/FilamentView/App.cpp @@ -87,12 +87,12 @@ void App::setupIbl() { image::KtxBundle* iblBundle = new image::KtxBundle(RESOURCES_VENETIAN_CROSSROADS_IBL_DATA, RESOURCES_VENETIAN_CROSSROADS_IBL_SIZE); float3 harmonics[9]; - iblBundle->getSphericalHarmonics(harmoncs); - app.iblTexture = image::KtxUtility::createTexture(engine, iblBundle, false, true); + iblBundle->getSphericalHarmonics(harmonics); + app.iblTexture = image::KtxUtility::createTexture(engine, iblBundle, false); image::KtxBundle* skyboxBundle = new image::KtxBundle(RESOURCES_VENETIAN_CROSSROADS_SKYBOX_DATA, RESOURCES_VENETIAN_CROSSROADS_SKYBOX_SIZE); - app.skyboxTexture = image::KtxUtility::createTexture(engine, skyboxBundle, false, true); + app.skyboxTexture = image::KtxUtility::createTexture(engine, skyboxBundle, false); app.skybox = Skybox::Builder() .environment(app.skyboxTexture) diff --git a/ios/samples/hello-pbr/hello-pbr/FilamentApp.cpp b/ios/samples/hello-pbr/hello-pbr/FilamentApp.cpp index 99ff6c5df8..480f1e3a5a 100644 --- a/ios/samples/hello-pbr/hello-pbr/FilamentApp.cpp +++ b/ios/samples/hello-pbr/hello-pbr/FilamentApp.cpp @@ -47,11 +47,11 @@ void FilamentApp::initialize() { RESOURCES_VENETIAN_CROSSROADS_IBL_SIZE); filament::math::float3 harmonics[9]; iblBundle->getSphericalHarmonics(harmonics); - app.iblTexture = image::KtxUtility::createTexture(engine, iblBundle, false, true); + app.iblTexture = image::KtxUtility::createTexture(engine, iblBundle, false); image::KtxBundle* skyboxBundle = new image::KtxBundle(RESOURCES_VENETIAN_CROSSROADS_SKYBOX_DATA, RESOURCES_VENETIAN_CROSSROADS_SKYBOX_SIZE); - app.skyboxTexture = image::KtxUtility::createTexture(engine, skyboxBundle, false, true); + app.skyboxTexture = image::KtxUtility::createTexture(engine, skyboxBundle, false); app.skybox = Skybox::Builder() .environment(app.skyboxTexture)