Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/game/client/viewrender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6051,6 +6051,9 @@ void CAboveWaterView::CRefractionView::Draw()
g_pPortalRender->WaterRenderingHandler_PreRefraction();
#endif

// Move camera 4u down to remove visible refraction gap
origin.z -= 4.f;

// Store off view origin and angles and set the new view
int nSaveViewID = CurrentViewID();
SetupCurrentView( origin, angles, VIEW_REFRACTION );
Expand Down