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:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user