Resolve incorrect SHADOWS definitions

Signed-off-by: Jeremy Ong <jcong@amazon.com>
This commit is contained in:
Jeremy Ong
2022-02-07 10:54:31 -07:00
parent 9ed9bcbb2f
commit 86d8ececfb
2 changed files with 2 additions and 1 deletions
@@ -117,7 +117,7 @@ PSDepthOutput MainPS(VSDepthOutput IN, bool isFrontFace : SV_IsFrontFace)
SetPixelDepth(IN.m_worldPosition, IN.m_normal, tangents, bitangents, IN.m_uv, isFrontFace, OUT.m_depth);
#endif
#ifdef SHADOW
#ifdef SHADOWS
OUT.m_depth += PdoShadowMapBias;
#endif
}
@@ -29,4 +29,5 @@ COMMON_OPTIONS_PARALLAX(o_layer3_)
#define MULTILAYER
#define DEACTIVATE_ALPHA_CLIP
#define SHADOWS
#include "DepthPass_WithPS.azsli"