UE4 - Remove Feature Level SM3 & replace it with ES 3.1.

- Fixes up the featurelevel switch on material nodes to default all ES2 inputs to also occur on ES3.1

[CL 2286623 by Rolando Caloca in Main branch]
This commit is contained in:
Rolando Caloca
2014-09-05 15:06:43 -04:00
committed by UnrealBot
parent dc86763b68
commit db3a94f08e
20 changed files with 101 additions and 89 deletions
@@ -278,7 +278,7 @@ void FStaticMesh::AddToDrawLists(FRHICommandListImmediate& RHICmdList, FScene* S
{
const auto FeatureLevel = Scene->GetFeatureLevel();
if (CastShadow && FeatureLevel >= ERHIFeatureLevel::SM3)
if (CastShadow && FeatureLevel >= ERHIFeatureLevel::SM4)
{
FShadowDepthDrawingPolicyFactory::AddStaticMesh(Scene, this);
}
@@ -302,7 +302,7 @@ void FStaticMesh::AddToDrawLists(FRHICommandListImmediate& RHICmdList, FScene* S
return;
}
if (FeatureLevel >= ERHIFeatureLevel::SM3)
if (FeatureLevel >= ERHIFeatureLevel::SM4)
{
extern TAutoConsoleVariable<int32> CVarEarlyZPass;
int32 EarlyZPass = CVarEarlyZPass.GetValueOnRenderThread();