mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-27 21:01:37 +00:00
Skip fur pipelines.
This commit is contained in:
parent
8b6f2de67f
commit
8cbccf4b6e
1 changed files with 3 additions and 0 deletions
|
|
@ -4396,6 +4396,9 @@ static void CompileMeshPipeline(Hedgehog::Mirage::CMeshData* mesh, MeshLayer lay
|
|||
|
||||
auto& material = mesh->m_spMaterial;
|
||||
auto& shaderList = material->m_spShaderListData;
|
||||
if (strstr(shaderList->m_TypeAndName.c_str(), "Fur") != nullptr) // Skip fur, these do instancing and should not be compiled here.
|
||||
return;
|
||||
|
||||
bool isSky = strstr(shaderList->m_TypeAndName.c_str(), "Sky") != nullptr;
|
||||
|
||||
bool constTexCoord = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue