mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-20 02:15:32 +00:00
Render skyboxes with rotation-only view matrix, a few new CDrawUtil overloads, other rendering tweaks
This commit is contained in:
@@ -95,7 +95,7 @@ void CWorldEditorWindow::PaintViewport(double DeltaTime)
|
||||
if (mShouldDrawSky)
|
||||
{
|
||||
CModel *pSky = mpSceneManager->GetActiveSkybox();
|
||||
if (pSky) mpRenderer->RenderSky(pSky, mCamera.Position());
|
||||
if (pSky) mpRenderer->RenderSky(pSky, mCamera);
|
||||
}
|
||||
|
||||
mpRenderer->RenderBuckets(mCamera);
|
||||
|
||||
Reference in New Issue
Block a user