Add portal plane clipping
This commit is contained in:
parent
70181f4146
commit
8bbb63e913
6 changed files with 39 additions and 8 deletions
|
|
@ -44,7 +44,7 @@ void RenderPolyScene::Render()
|
|||
ClearBuffers();
|
||||
SetSceneViewport();
|
||||
SetupPerspectiveMatrix();
|
||||
MainPortal.SetViewpoint(WorldToClip, GetNextStencilValue());
|
||||
MainPortal.SetViewpoint(WorldToClip, Vec4f(0.0f), GetNextStencilValue());
|
||||
MainPortal.Render(0);
|
||||
Skydome.Render(WorldToClip);
|
||||
MainPortal.RenderTranslucent(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue