cleanups for shadergen and the visibility feature

math fixes, feature inclusion removal. will still need to circle back on why the crosshatch.. isn't
This commit is contained in:
AzaezelX 2021-09-17 01:24:20 -05:00
parent 328319b853
commit 21c17d0ed1
4 changed files with 11 additions and 27 deletions

View file

@ -186,10 +186,8 @@ void ShadowMaterialHook::_overrideFeatures( ProcessedMaterial *mat,
type == MFT_TexAnim ||
type == MFT_DiffuseMap ||
type == MFT_IsTranslucent ||
type == MFT_Visibility ||
type == MFT_UseInstancing ||
type == MFT_EyeSpaceDepthOut ||
type == MFT_DeferredConditioner)
type == MFT_EyeSpaceDepthOut)
newFeatures.addFeature(type);
else if (type.getGroup() == MFG_PreTransform ||
type.getGroup() == MFG_Transform ||