Resolve incorrect SHADOWS definitions
Signed-off-by: Jeremy Ong <jcong@amazon.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
+1
@@ -29,4 +29,5 @@ COMMON_OPTIONS_PARALLAX(o_layer3_)
|
||||
|
||||
#define MULTILAYER
|
||||
#define DEACTIVATE_ALPHA_CLIP
|
||||
#define SHADOWS
|
||||
#include "DepthPass_WithPS.azsli"
|
||||
|
||||
Reference in New Issue
Block a user