16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 03:29:19 +02:00

add adapter for specgloss materials

This commit is contained in:
WLs50
2025-03-17 11:12:51 +01:00
parent eaab6a29e4
commit e8fc147b5f
2 changed files with 16 additions and 0 deletions

View File

@@ -72,6 +72,8 @@ struct MaterialAdapterLegacyMatFile : public MaterialAdapterInternal {
glm::dvec2 m_size{-1., -1.};
virtual glm::dvec2 GetSize() const override { return m_size; }
bool HasNormalMap() const;
bool HasSpecGlossMap() const;
bool IsSpecGlossShader() const;
bool IsNormalMapShader() const;
std::unordered_map<std::string, TextureEntry> m_texture_mapping;
virtual int GetShadowRank() const override { return m_shadow_rank; }