You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
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:
committed by
UnrealBot
parent
dc86763b68
commit
db3a94f08e
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user