Fix displace fallback in non-advanced pipeline
This commit is contained in:
parent
7b571de395
commit
ea58a736d5
@ -84,8 +84,10 @@ TransparentMaterial getTransparentMaterialFromType(video::E_MATERIAL_TYPE type,
|
||||
{
|
||||
if (CVS->isDefferedEnabled())
|
||||
return TM_DISPLACEMENT;
|
||||
else
|
||||
else if (tp == video::EVT_2TCOORDS)
|
||||
return TM_TRANSLUCENT_2TC;
|
||||
else
|
||||
return TM_TRANSLUCENT_STD;
|
||||
}
|
||||
if (material->getShaderType() == Material::SHADERTYPE_ADDITIVE)
|
||||
return TM_ADDITIVE;
|
||||
|
Loading…
Reference in New Issue
Block a user