Resolve incorrect SHADOWS definitions

Signed-off-by: Jeremy Ong <jcong@amazon.com>
monroegm-disable-blank-issue-2
Jeremy Ong 4 years ago
parent 9ed9bcbb2f
commit 86d8ececfb

@ -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"

Loading…
Cancel
Save