Terrain/sphrose/surface materials component (#4541)

* wip

Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>

* wip

Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>

* Terrain Surface Materials List Component.

Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>

* fix erroneous commit

Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>

* Added some comments.

Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>

* Review changes.

Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>

* Surface Materials list unit tests

Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>

* Missing shape test

Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>

* review changes.

Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>

* Compile fix.

Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>

* Fix case issue in include path.

Signed-off-by: Ken Pruiksma <pruiksma@amazon.com>

* replaced reverted test.

Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>

Co-authored-by: Ken Pruiksma <pruiksma@amazon.com>
This commit is contained in:
sphrose
2021-10-18 15:37:07 +01:00
committed by GitHub
parent d0f18eefb3
commit bcc186f87f
13 changed files with 642 additions and 1 deletions
@@ -18,6 +18,7 @@
#include <Components/TerrainLayerSpawnerComponent.h>
#include <Components/TerrainSurfaceGradientListComponent.h>
#include <Components/TerrainSurfaceDataSystemComponent.h>
#include <TerrainRenderer/Components/TerrainSurfaceMaterialsListComponent.h>
#include <TerrainRenderer/Components/TerrainMacroMaterialComponent.h>
namespace Terrain
@@ -26,6 +27,7 @@ namespace Terrain
: AZ::Module()
{
m_descriptors.insert(m_descriptors.end(), {
TerrainSurfaceMaterialsListComponent::CreateDescriptor(),
TerrainSystemComponent::CreateDescriptor(),
TerrainWorldComponent::CreateDescriptor(),
TerrainWorldDebuggerComponent::CreateDescriptor(),