Camera setup, terrain texture transitions

This commit is contained in:
saschawillems 2016-06-25 21:23:12 +02:00
parent cc5ade69f1
commit 04150b812e
3 changed files with 7 additions and 6 deletions

View file

@ -118,8 +118,9 @@ public:
title = "Vulkan Example - Dynamic terrain tessellation";
camera.type = Camera::CameraType::firstperson;
camera.setPerspective(60.0f, (float)width / (float)height, 0.1f, 512.0f);
camera.setRotation(glm::vec3(-11.0f, 56.0f, 0.0f));
camera.setTranslation(glm::vec3(60.0f, 20.5f, -44.0f));
camera.setRotation(glm::vec3(-12.0f, 159.0f, 0.0f));
camera.setTranslation(glm::vec3(18.0f, 22.5f, 57.5f));
camera.movementSpeed = 7.5f;
// Support for tessellation shaders is optional, so check first
//if (!deviceFeatures.tessellationShader)