Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Source/Terrain2/Private/VoxelVolumeComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ UVoxelVolumeComponent::UVoxelVolumeComponent(const FObjectInitializer& ObjectIni
this->bCastFarShadow = true;
this->ManuallySetLODRanges = false;
this->MaxOctreeDepth = 6;
this->LODRanges.AddDefaulted(7);
this->LODRanges.AddDefaulted(9);
this->MultiplayerCorrectionRange = 512.00f;
this->NodeCachingFactor = 5.00f;
this->DefaultMaterial = NULL;
Expand Down
7 changes: 3 additions & 4 deletions Source/Terrain2/Public/VoxelVolumeMaterialPalette.h
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#pragma once
#include "CoreMinimal.h"
#include "UObject/Object.h"
#include "Engine/DataAsset.h" // Data Asset fix
#include "Chaos/ChaosEngineInterface.h"
#include "CreativePaintMaterialMapping.h"
#include "VoxelMaterial.h"
#include "VoxelVolumeMaterialPalette.generated.h"

class UMaterialInterface;

UCLASS(Blueprintable)
class TERRAIN2_API UVoxelVolumeMaterialPalette : public UObject {
UCLASS(Blueprintable, BlueprintType)
class TERRAIN2_API UVoxelVolumeMaterialPalette : public UDataAsset {
GENERATED_BODY()
public:
protected:
Expand All @@ -32,4 +32,3 @@ class TERRAIN2_API UVoxelVolumeMaterialPalette : public UObject {
UVoxelVolumeMaterialPalette();

};