Skip to content

Commit

Permalink
sokol: Disable tiles reflection for now until fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
IonAgorria committed Oct 23, 2024
1 parent 25f8e51 commit 7ea85a6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Source/Render/tilemap/TileMapRender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,13 @@ void cTileMapRender::DrawBump(cCamera* DrawNode,eBlendMode MatMode,TILEMAP_DRAW
bool use_shadow_map=false;

gb_RenderDevice->SetWorldMatXf(MatXf::ID);

//TODO remove this ifdef once tile reflections stop clipping in soklo
#ifdef PERIMETER_D3D9
if (!gb_RenderDevice3D && reflection) return;
#else
if (reflection) return;
#endif

// setup rendering
if(tilemap->GetShadowMap() && !shadow && Option_ShadowType == SHADOW_MAP &&
Expand Down

0 comments on commit 7ea85a6

Please sign in to comment.