game: small fixes

This commit is contained in:
nillerusr
2022-06-04 23:08:40 +03:00
parent 432a6b2297
commit ac956a9b4f
5 changed files with 26 additions and 8 deletions

View File

@@ -3769,6 +3769,10 @@ static int ShadowDepthSamplerMaskFromName( const char *pName )
{
return (1<<7);
}
else if ( V_stristr( pName, "skin_ps" ) )
{
return (1<<4) | (1<<6);
}
else if ( V_stristr( pName, "infected_ps" ) )
{
return (1<<1);
@@ -3795,7 +3799,7 @@ static int ShadowDepthSamplerMaskFromName( const char *pName )
}
else if ( V_stristr( pName, "worldtwotextureblend_ps" ) )
{
return (1<<7);
return (1<<2);
}
else if ( V_stristr( pName, "teeth_flashlight_ps" ) )
{