Skip to content

Commit

Permalink
Fix shadow rendering, bisected by @caiiiycuk
Browse files Browse the repository at this point in the history
  • Loading branch information
IonAgorria committed Apr 25, 2024
1 parent 22395fb commit 754bd95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Render/D3D/DrawTypeGeforceFX.inl
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ void DrawTypeGeforceFX::SetMaterialTilemap(cTileMap *TileMap)
gb_RenderDevice3D->SetSamplerState(ss, D3DSAMP_MAGFILTER, D3DTEXF_LINEAR);
gb_RenderDevice3D->SetSamplerState(ss, D3DSAMP_MIPFILTER, D3DTEXF_LINEAR);
TextureImage teximg(ptZBuffer);
gb_RenderDevice3D->SetTextureImage(0,&teximg);
gb_RenderDevice3D->SetTextureImage(ss,&teximg);
}

gb_RenderDevice3D->SetTexture(offset+1,pLightMap,0);
Expand Down

0 comments on commit 754bd95

Please sign in to comment.