Atom/mriegger/decalnormalmaps (#4302)
* Adding normal maps to decals initial commit Signed-off-by: mrieggeramzn <mriegger@amazon.com> * Adding checks for normal maps not present Signed-off-by: mrieggeramzn <mriegger@amazon.com> * Readding the proper switch statement Signed-off-by: mrieggeramzn <mriegger@amazon.com> * Addressing PR feedback, adding brackets Signed-off-by: mrieggeramzn <mriegger@amazon.com> * Adding comments Signed-off-by: mrieggeramzn <mriegger@amazon.com> * fixing compile issue Signed-off-by: mrieggeramzn <mriegger@amazon.com>
This commit is contained in:
@@ -42,7 +42,7 @@ namespace UnitTest
|
||||
{
|
||||
AZ::Render::DecalTextureArray decalTextureArray;
|
||||
decalTextureArray.Pack();
|
||||
auto nothing = decalTextureArray.GetPackedTexture();
|
||||
auto nothing = decalTextureArray.GetPackedTexture(AZ::Render::DecalMapType_Diffuse);
|
||||
EXPECT_EQ(nothing, nullptr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user