Trying to fix wrong tex coord imports

This commit is contained in:
Dynamitos
2025-05-04 21:30:01 +02:00
parent 91c31bc219
commit ee412201e6
13 changed files with 78 additions and 83 deletions
+8 -4
View File
@@ -25,7 +25,7 @@ using namespace Seele::Editor;
static Gfx::OGraphics graphics;
int main() {
std::string gameName = "MinecraftClone";
std::string gameName = "MeshShadingDemo";
std::filesystem::path outputPath = fmt::format("../../{0}Game", gameName);
std::filesystem::path sourcePath = fmt::format("../../{0}", gameName);
#ifdef WIN32
@@ -57,9 +57,13 @@ int main() {
AssetImporter::importEnvironmentMap(EnvironmentImportArgs{
.filePath = sourcePath / "import" / "textures" / "newport_loft.hdr",
});
AssetImporter::importTexture(TextureImportArgs{
.filePath = sourcePath / "import" / "textures" / "grass_block_side.png",
.importPath = "",
//AssetImporter::importTexture(TextureImportArgs{
// .filePath = sourcePath / "import" / "textures" / "grass_block_side.png",
// .importPath = "",
//});
AssetImporter::importMesh(MeshImportArgs{
.filePath = sourcePath / "import" / "models" / "main1_sponza" / "floor.glb",
.importPath = "sponza",
});
getThreadPool().waitIdle();