in urho3d i use this code to generate cubemap texture,but cant generate mipmap,help me.
SharedPtr<TextureCube> texCube(new TextureCube(context_));
texCube->SetNumLevels(9);
texCube->SetSize(size, Graphics::GetRGBAFloat32Format(), TEXTURE_RENDERTARGET);
texCube->SetFilterMode(FILTER_ANISOTROPIC);
//texCube->SetFilterMode(FILTER_BILINEAR);
//texCube->SetAddressMode(COORD_U, ADDRESS_CLAMP);
//texCube->SetAddressMode(COORD_V, ADDRESS_CLAMP);
//texCube->SetAddressMode(COORD_W, ADDRESS_CLAMP);
GetSubsystem<ResourceCache>()->AddManualResource(texCube);