Skip to content

Commit ee2459b

Browse files
committed
Adjust zbias level to fix blood height
1 parent 272ca4e commit ee2459b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Resources/BuildNo.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#define BUILD_NUMBER 2246
1+
#define BUILD_NUMBER 2247

Wrappers/d3d8/IDirect3DDevice8.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ HRESULT m_IDirect3DDevice8::SetRenderState(D3DRENDERSTATETYPE State, DWORD Value
882882
// Fix for 2D Fog, light switches, pictures and glow around the flashlight lens
883883
if (d3d8to9 && State == D3DRS_ZBIAS)
884884
{
885-
Value = Value / 3;
885+
Value = Value / 8;
886886
}
887887

888888
// Restores self shadows

0 commit comments

Comments
 (0)