Skip to content

Commit

Permalink
xrRender_R1: fixed fog not being applied to some meshes when FFP is on
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Apr 22, 2023
1 parent aa7a50c commit 78a54e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Layers/xrRender/blenders/Blender_default_aref.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

1 comment on commit 78a54e6

@Xottab-DUTY
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.