From 78a54e64837423f9b92930199812687969da8877 Mon Sep 17 00:00:00 2001 From: Xottab-DUTY Date: Sat, 22 Apr 2023 05:32:08 +0300 Subject: [PATCH] xrRender_R1: fixed fog not being applied to some meshes when FFP is on --- src/Layers/xrRender/blenders/Blender_default_aref.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Layers/xrRender/blenders/Blender_default_aref.cpp b/src/Layers/xrRender/blenders/Blender_default_aref.cpp index 88163b614d1..f0880fa39ca 100644 --- a/src/Layers/xrRender/blenders/Blender_default_aref.cpp +++ b/src/Layers/xrRender/blenders/Blender_default_aref.cpp @@ -125,7 +125,7 @@ void CBlender_default_aref::CompileFFP(CBlender_Compile& C) const { C.PassSET_ZB(true, true); C.PassSET_Blend_SET(); - C.PassSET_LightFog(false, false); + C.PassSET_LightFog(false, true); // Stage0 - Lightmap C.StageBegin();