@@ -24,7 +24,7 @@ void AppPBRClusterForward::Init()
2424 InitLights ();
2525
2626 // Image-Based Lighting
27- InitIBLResources ( AppConfig::TextureFolder + " dikhololo_night_4k .hdr" );
27+ resIBL_ = std::make_unique<ResourcesIBL>(vulkanContext_, AppConfig::TextureFolder + " piazza_bologni_1k .hdr" );
2828 cubemapMipmapCount_ = static_cast <float >(Utility::MipMapCount (IBLConfig::InputCubeSideLength));
2929
3030 resCF_ = std::make_unique<ResourcesClusterForward>();
@@ -44,8 +44,7 @@ void AppPBRClusterForward::Init()
4444 vulkanContext_,
4545 &(resIBL_->environmentCubemap_ ),
4646 resShared_.get (),
47- // This is the first offscreen render pass so
48- // we need to clear the color attachment and depth attachment
47+ // This is the first offscreen render pass so we need to clear the color attachment and depth attachment
4948 RenderPassBit::ColorClear | RenderPassBit::DepthClear);
5049 aabbPtr_ = std::make_unique<PipelineAABBGenerator>(vulkanContext_, resCF_.get ());
5150 lightCullPtr_ = std::make_unique<PipelineLightCulling>(vulkanContext_, resLight_.get (), resCF_.get ());
@@ -59,8 +58,7 @@ void AppPBRClusterForward::Init()
5958 lightPtr_ = std::make_unique<PipelineLightRender>(vulkanContext_, resLight_.get (), resShared_.get ());
6059 // Resolve multiSampledColorImage_ to singleSampledColorImage_
6160 resolveMSPtr_ = std::make_unique<PipelineResolveMS>(vulkanContext_, resShared_.get ());
62- // This is on-screen render pass that transfers
63- // singleSampledColorImage_ to swapchain image
61+ // This is on-screen render pass that transfers singleSampledColorImage_ to swapchain image
6462 tonemapPtr_ = std::make_unique<PipelineTonemap>(vulkanContext_, &(resShared_->singleSampledColorImage_ ));
6563 // ImGui here
6664 imguiPtr_ = std::make_unique<PipelineImGui>(vulkanContext_, vulkanInstance_.GetInstance (), glfwWindow_);
0 commit comments