Ray Tracing doesnt look like shit anymore
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "PlayView.h"
|
||||
#include "Window/Window.h"
|
||||
#include "Component/Mesh.h"
|
||||
|
||||
using namespace Seele;
|
||||
using namespace Seele::Editor;
|
||||
@@ -45,4 +46,7 @@ void PlayView::keyCallback(KeyCode code, InputAction action, KeyModifier modifie
|
||||
std::cout << cam.getCameraPosition() << std::endl;
|
||||
std::cout << tra.getRotation() << std::endl;
|
||||
}
|
||||
if (code == KeyCode::KEY_R && action == InputAction::RELEASE) {
|
||||
getGlobals().useRayTracing = !getGlobals().useRayTracing;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -93,7 +93,7 @@ int main() {
|
||||
// .filePath = sourcePath / "import/models/culling.fbx",
|
||||
//});
|
||||
AssetImporter::importTexture(TextureImportArgs{
|
||||
.filePath = sourcePath / "import/textures/skyboxsun5deg_tn.jpg",
|
||||
.filePath = sourcePath / "import/textures/skybox.jpg",
|
||||
.type = TextureImportType::TEXTURE_CUBEMAP,
|
||||
});
|
||||
// AssetImporter::importMesh(MeshImportArgs{
|
||||
|
||||
Reference in New Issue
Block a user