Examples: Enable gamma correction pass
This commit is contained in:
committed by
Jérôme Leclercq
parent
55b4e47582
commit
6323cb5372
@@ -106,7 +106,7 @@ int main(int argc, char* argv[])
|
||||
viewer2D.emplace<Nz::NodeComponent>();
|
||||
|
||||
auto& cameraComponent = viewer2D.emplace<Nz::CameraComponent>(&windowSwapchain, Nz::ProjectionType::Orthographic);
|
||||
cameraComponent.UpdateClearColor(Nz::Color::sRGBToLinear(Nz::Color(0.46f, 0.48f, 0.84f, 1.f)));
|
||||
cameraComponent.UpdateClearColor(Nz::Color(0.46f, 0.48f, 0.84f, 1.f));
|
||||
}
|
||||
|
||||
return app.Run();
|
||||
|
||||
Reference in New Issue
Block a user