move gl_light_shadow_filter from HWViewpointUniforms to VkShaderKey

This commit is contained in:
Ricardo Luís Vaz Silva 2025-01-02 11:30:44 -03:00 committed by Magnus Norddahl
commit e75d8d35eb
8 changed files with 24 additions and 18 deletions

View file

@ -128,7 +128,6 @@ void HWDrawInfo::StartScene(FRenderViewpoint &parentvp, HWViewpointUniforms *uni
VPUniforms.mPalLightLevels = static_cast<int>(gl_bandedswlight) | (static_cast<int>(gl_fogmode) << 8) | ((int)lightmode << 16);
}
VPUniforms.mClipLine.X = -10000000.0f;
VPUniforms.mShadowFilter = static_cast<int>(gl_light_shadow_filter);
}
mClipper->SetViewpoint(Viewpoint);
vClipper->SetViewpoint(Viewpoint);