Загрузка карт фоновой и зеркальной составляющих

This commit is contained in:
2022-11-23 14:11:49 +03:00
parent e9dddd4dbb
commit 93f8ab2653
6 changed files with 23 additions and 2 deletions

View File

@@ -88,6 +88,8 @@ class Model : public Node
GLuint verteces_count; // Количество вершин
size_t first_index_byteOffset, indices_count; // Сдвиг в байтах для первого и количество индексов
Texture texture_diffuse; // Диффузная текстура
Texture texture_ambient; // Текстура фонового освщения
Texture texture_specular; // Текстура зеркального отражения
};
#endif // MODEL_H

View File

@@ -8,6 +8,8 @@
enum TexType {
TEX_DIFFUSE,
TEX_AMBIENT,
TEX_SPECULAR,
TEX_AVAILABLE_COUNT
};