diff --git a/src/graphics/draw_calls.cpp b/src/graphics/draw_calls.cpp index 00baba6b5..12309c846 100644 --- a/src/graphics/draw_calls.cpp +++ b/src/graphics/draw_calls.cpp @@ -197,6 +197,24 @@ void DrawCalls::handleSTKCommon(scene::ISceneNode *Node, case Material::SHADERTYPE_SPLATTING: ListMatSplatting::getInstance()->SolidPass.emplace_back(mesh, ModelMatrix, InvModelMatrix); break; + + case Material::SHADERTYPE_ALPHA_BLEND: + break; + case Material::SHADERTYPE_ADDITIVE: + break; + case Material::SHADERTYPE_VEGETATION: + break; + case Material::SHADERTYPE_WATER: + break; + case Material::SHADERTYPE_SPHERE_MAP: + break; + case Material::SHADERTYPE_NORMAL_MAP: + break; + case Material::SHADERTYPE_DETAIL_MAP: + break; + + default: + Log::warn("DrawCalls", "Unknown material type: %d", Mat); } } } @@ -234,6 +252,16 @@ void DrawCalls::handleSTKCommon(scene::ISceneNode *Node, case Material::SHADERTYPE_VEGETATION: ListMatGrass::getInstance()->SolidPass.emplace_back(mesh, ModelMatrix, InvModelMatrix, m_wind_dir); break; + + case Material::SHADERTYPE_ALPHA_BLEND: + break; + case Material::SHADERTYPE_ADDITIVE: + break; + case Material::SHADERTYPE_WATER: + break; + + default: + Log::warn("DrawCalls", "Unknown material type: %d", Mat); } } } @@ -287,6 +315,16 @@ void DrawCalls::handleSTKCommon(scene::ISceneNode *Node, break; case Material::SHADERTYPE_VEGETATION: ListMatGrass::getInstance()->Shadows[cascade].emplace_back(mesh, ModelMatrix, InvModelMatrix, m_wind_dir); + + case Material::SHADERTYPE_ALPHA_BLEND: + break; + case Material::SHADERTYPE_ADDITIVE: + break; + case Material::SHADERTYPE_WATER: + break; + + default: + Log::warn("DrawCalls", "Unknown material type: %d", Mat); } } } @@ -350,6 +388,16 @@ void DrawCalls::handleSTKCommon(scene::ISceneNode *Node, case Material::SHADERTYPE_VEGETATION: ListMatGrass::getInstance()->RSM.emplace_back(mesh, ModelMatrix, InvModelMatrix, m_wind_dir); break; + + case Material::SHADERTYPE_ALPHA_BLEND: + break; + case Material::SHADERTYPE_ADDITIVE: + break; + case Material::SHADERTYPE_WATER: + break; + + default: + Log::warn("DrawCalls", "Unknown material type: %d", Mat); } } } diff --git a/src/graphics/materials.hpp b/src/graphics/materials.hpp index 4b93d8224..0ab9348d1 100644 --- a/src/graphics/materials.hpp +++ b/src/graphics/materials.hpp @@ -631,9 +631,6 @@ public: }; // InstancedDetailedObjectPass2Shader - - - // ============================================================================ struct DefaultMaterial { @@ -809,6 +806,4 @@ struct SplattingMat static const STK::Tuple RSMTextures; }; // SplattingMat - - #endif //HEADER_MATERIAL_TYPE_HPP