Split RenderPolyScene into two to allow rendering from multiple viewpoints
This commit is contained in:
parent
2316658dfc
commit
47aaf781c6
9 changed files with 364 additions and 255 deletions
|
|
@ -25,7 +25,7 @@
|
|||
#include "sbar.h"
|
||||
#include "r_data/r_translate.h"
|
||||
#include "r_poly_sky.h"
|
||||
#include "r_poly.h"
|
||||
#include "r_poly_portal.h"
|
||||
#include "r_sky.h" // for skyflatnum
|
||||
|
||||
PolySkyDome::PolySkyDome()
|
||||
|
|
@ -53,7 +53,7 @@ void PolySkyDome::Render(const TriMatrix &worldToClip)
|
|||
TriUniforms uniforms;
|
||||
uniforms.light = 256;
|
||||
uniforms.flags = 0;
|
||||
uniforms.subsectorDepth = RenderPolyScene::SkySubsectorDepth;
|
||||
uniforms.subsectorDepth = RenderPolyPortal::SkySubsectorDepth;
|
||||
|
||||
int rc = mRows + 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue