Merge pull request #216 from aws-lumberyard-dev/Atom/mriegger/DirFix
Fix for directional light not having shadows in editor
This commit is contained in:
@@ -1238,6 +1238,8 @@ namespace AZ
|
||||
|
||||
void DirectionalLightFeatureProcessor::SetFilterParameterToPass(LightHandle handle, const RPI::View* cameraView)
|
||||
{
|
||||
AZ_ATOM_PROFILE_FUNCTION("DirectionalLightFeatureProcessor", "DirectionalLightFeatureProcessor::SetFilterParameterToPass");
|
||||
|
||||
if (handle != m_shadowingLightHandle)
|
||||
{
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user