mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-24 21:07:46 +00:00
renderer: Change clear color
This commit is contained in:
parent
11a63345aa
commit
3af1e9f8f9
1 changed files with 3 additions and 3 deletions
|
@ -460,9 +460,9 @@ void Renderer::render(const std::vector<RenderModel> &models)
|
|||
renderPassInfo.framebuffer = swapchainFramebuffers[imageIndex];
|
||||
|
||||
std::array<VkClearValue, 2> clearValues = {};
|
||||
clearValues[0].color.float32[0] = 0.8;
|
||||
clearValues[0].color.float32[1] = 0.8;
|
||||
clearValues[0].color.float32[2] = 0.8;
|
||||
clearValues[0].color.float32[0] = 0.24;
|
||||
clearValues[0].color.float32[1] = 0.24;
|
||||
clearValues[0].color.float32[2] = 0.24;
|
||||
clearValues[0].color.float32[3] = 1.0;
|
||||
clearValues[1].depthStencil = {1.0f, 0};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue