Skip to content

Commit

Permalink
Remove unnecesary log
Browse files Browse the repository at this point in the history
Signed-off-by: kevyuu <[email protected]>
  • Loading branch information
kevyuu committed Jan 24, 2025
1 parent c2c82d4 commit 34a3fa9
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions 71_RayTracingPipeline/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,6 @@ class RaytracingPipelineApp final : public examples::SimpleWindowedApplication,
if (!createShaderBindingTable(gQueue, m_rayTracingPipeline))
return logFail("Could not create shader binding table");

m_logger->log("Shader binding table created", system::ILogger::ELL_INFO);
}

{
Expand Down Expand Up @@ -1023,7 +1022,7 @@ class RaytracingPipelineApp final : public examples::SimpleWindowedApplication,
return logFail("Couldn't create Command Pool for geometry creation!");

const auto defaultMaterial = Material{
.ambient = {0.1, 0.1, 0.1},
.ambient = {},
.diffuse = {0.8, 0.3, 0.3},
.specular = {0.8, 0.8, 0.8},
.shininess = 1.0f,
Expand Down Expand Up @@ -1057,7 +1056,7 @@ class RaytracingPipelineApp final : public examples::SimpleWindowedApplication,
.meta = {.type = OT_CUBE, .name = "Cube Mesh 2"},
.data = gc->createCubeMesh(nbl::core::vector3df(1.5, 1.5, 1.5)),
.material = {
.ambient = {0.1, 0.1, 0.1},
.ambient = {},
.diffuse = {0.2, 0.2, 0.8},
.specular = {0.8, 0.8, 0.8},
.shininess = 1.0f,
Expand All @@ -1069,7 +1068,7 @@ class RaytracingPipelineApp final : public examples::SimpleWindowedApplication,
.meta = {.type = OT_CUBE, .name = "Transparent Cube Mesh"},
.data = gc->createCubeMesh(nbl::core::vector3df(1.5, 1.5, 1.5)),
.material = {
.ambient = {0.1, 0.1, 0.1},
.ambient = {},
.diffuse = {0.2, 0.8, 0.2},
.specular = {0.8, 0.8, 0.8},
.shininess = 1.0f,
Expand Down Expand Up @@ -1244,7 +1243,7 @@ class RaytracingPipelineApp final : public examples::SimpleWindowedApplication,
.center = float32_t3((i - middle_i) * 4.0, 2, 5.0),
.radius = 1,
.material = {
.ambient = {0.1, 0.1, 0.1},
.ambient = {},
.diffuse = {0.3, 0.2 * i, 0.3},
.specular = {0.8, 0.8, 0.8},
.shininess = 1.0f,
Expand Down

0 comments on commit 34a3fa9

Please sign in to comment.