diff --git a/src/experimental/filament/filament/object_manager.cc b/src/experimental/filament/filament/object_manager.cc index ab6debca..4af3625c 100644 --- a/src/experimental/filament/filament/object_manager.cc +++ b/src/experimental/filament/filament/object_manager.cc @@ -354,11 +354,6 @@ filament::IndirectLight* ObjectManager::LoadFallbackIndirectLight( filament::math::float3 spherical_harmonics[9]; filament::Texture* tex = CreateKtxTexture(engine_, asset.payload, asset.size, spherical_harmonics); - // TODO: Revisit this to make it this work in WebGL - #ifndef __EMSCRIPTEN__ - tex->generateMipmaps(*engine_); - #endif - return CreateIndirectLight(tex, &spherical_harmonics, intensity); }