Changed rendermode
This commit is contained in:
parent
ea8ed416d1
commit
77e6ebb7d2
|
@ -63,6 +63,7 @@ ASceneCaptureSensor::ASceneCaptureSensor(const FObjectInitializer &ObjectInitial
|
|||
CaptureComponent2D = CreateDefaultSubobject<USceneCaptureComponent2D>(
|
||||
FName(*FString::Printf(TEXT("SceneCaptureComponent2D_%d"), SCENE_CAPTURE_COUNTER)));
|
||||
CaptureComponent2D->SetupAttachment(RootComponent);
|
||||
CaptureComponent2D->PrimitiveRenderMode = ESceneCapturePrimitiveRenderMode::PRM_RenderScenePrimitives;
|
||||
|
||||
SceneCaptureSensor_local_ns::SetCameraDefaultOverrides(*CaptureComponent2D);
|
||||
|
||||
|
|
|
@ -310,7 +310,7 @@ protected:
|
|||
|
||||
static TArray<ASceneCaptureSensor*> CaptureSensors;
|
||||
static int32 NumCaptureSensors;
|
||||
static const int32 MaxNumTextures = 2; // This has to be POT
|
||||
static const int32 MaxNumTextures = 1; // This has to be POT
|
||||
int32 CurrentTexture = 0;
|
||||
int32 PreviousTexture = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue