PBR examples minor tweaks and updated screenshots
This commit is contained in:
parent
4094aa0ea0
commit
230a70cf4b
6 changed files with 14 additions and 26 deletions
|
|
@ -97,7 +97,7 @@ public:
|
|||
|
||||
VulkanExample() : VulkanExampleBase(ENABLE_VALIDATION)
|
||||
{
|
||||
title = "Vulkan textured PBR using IBL";
|
||||
title = "Vulkan Example - Textured PBR with IBL";
|
||||
|
||||
enableTextOverlay = true;
|
||||
camera.type = Camera::CameraType::firstperson;
|
||||
|
|
@ -1385,7 +1385,7 @@ public:
|
|||
// 3D object
|
||||
uboMatrices.projection = camera.matrices.perspective;
|
||||
uboMatrices.view = camera.matrices.view;
|
||||
uboMatrices.model = glm::rotate(glm::mat4(), glm::radians(90.0f), glm::vec3(0.0f, 1.0f, 0.0f));
|
||||
uboMatrices.model = glm::rotate(glm::mat4(), glm::radians(-90.0f), glm::vec3(0.0f, 1.0f, 0.0f));
|
||||
uboMatrices.camPos = camera.position * -1.0f;
|
||||
memcpy(uniformBuffers.object.mapped, &uboMatrices, sizeof(uboMatrices));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue