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

add adapter for legacy reflection materials

This commit is contained in:
WLs50
2025-03-17 13:00:18 +01:00
parent e8fc147b5f
commit 91a03dbcd4
2 changed files with 15 additions and 2 deletions

View File

@@ -75,6 +75,7 @@ struct MaterialAdapterLegacyMatFile : public MaterialAdapterInternal {
bool HasSpecGlossMap() const;
bool IsSpecGlossShader() const;
bool IsNormalMapShader() const;
bool IsReflectionShader() const;
std::unordered_map<std::string, TextureEntry> m_texture_mapping;
virtual int GetShadowRank() const override { return m_shadow_rank; }
virtual std::optional<float> GetOpacity() const override;