Graphics/Materials: Fix normal maps for PhongMaterial

This commit is contained in:
SirLynix 2024-02-07 15:53:09 +01:00
parent 8a5e5f7643
commit 37e90ecea9
1 changed files with 3 additions and 3 deletions

View File

@ -64,9 +64,9 @@ namespace Nz
settings.AddTextureProperty("SpecularMap", ImageType::E2D);
settings.AddPropertyHandler(std::make_unique<OptionValuePropertyHandler>("ShadowMapping", "EnableShadowMapping"));
settings.AddPropertyHandler(std::make_unique<TexturePropertyHandler>("EmissiveMap", "HasEmissiveTexture"));
settings.AddPropertyHandler(std::make_unique<TexturePropertyHandler>("HeightMap", "HasHeightMap"));
settings.AddPropertyHandler(std::make_unique<TexturePropertyHandler>("NormalMap", "HasNormalMap"));
settings.AddPropertyHandler(std::make_unique<TexturePropertyHandler>("SpecularMap", "HasSpecularMap"));
settings.AddPropertyHandler(std::make_unique<TexturePropertyHandler>("HeightMap", "HasHeightTexture"));
settings.AddPropertyHandler(std::make_unique<TexturePropertyHandler>("NormalMap", "HasNormalTexture"));
settings.AddPropertyHandler(std::make_unique<TexturePropertyHandler>("SpecularMap", "HasSpecularTexture"));
settings.AddPropertyHandler(std::make_unique<UniformValuePropertyHandler>("AmbientColor"));
settings.AddPropertyHandler(std::make_unique<UniformValuePropertyHandler>("SpecularColor"));
settings.AddPropertyHandler(std::make_unique<UniformValuePropertyHandler>("Shininess"));