Lighting still looks horrible, but whatever for now

This commit is contained in:
Dynamitos committed 2024-05-04 09:25:13 +02:00
1 parent 247d6a54fb
commit f0fd9a7ae7
24 files changed
+563 -386

No files matched your search

+2
View File
@@ -12,6 +12,7 @@ DECLARE_NAME_REF(Gfx, Texture2D)
enum class TextureImportType
{
TEXTURE_2D,
TEXTURE_NORMAL,
TEXTURE_CUBEMAP,
};
struct TextureImportArgs
@@ -20,6 +21,7 @@ struct TextureImportArgs
std::string importPath;
TextureImportType type = TextureImportType::TEXTURE_2D;
Gfx::SeImageUsageFlagBits usage = Gfx::SE_IMAGE_USAGE_SAMPLED_BIT;
uint32 numChannels = 4;
};
class TextureLoader
{