support rain shader in experimental

This commit is contained in:
Wls50
2025-11-22 17:06:06 +01:00
committed by Hirek
parent ac62f23f0f
commit 915e4c769e
7 changed files with 270 additions and 12 deletions

View File

@@ -133,6 +133,9 @@ std::string_view MaterialAdapterLegacyMatFile::GetShader() const {
if (m_shader == "water") {
return "legacy_water";
}
if (m_shader == "rain_windscreen") {
return "windshield_rain";
}
if (IsSpecGlossShader() && HasSpecGlossMap()) {
if (IsNormalMapShader() && HasNormalMap()) {
return "legacy_normalmap_specgloss";