Adjust class naming to closer match the GZDoom renderer and split portal rendering part to its own file

This commit is contained in:
Magnus Norddahl 2016-12-03 14:58:56 +01:00
commit e09c7d239f
10 changed files with 470 additions and 414 deletions

View file

@ -55,7 +55,7 @@ void PolySkyDome::Render(const TriMatrix &worldToClip)
PolyDrawArgs args;
args.uniforms.light = 256;
args.uniforms.flags = 0;
args.uniforms.subsectorDepth = RenderPolyPortal::SkySubsectorDepth;
args.uniforms.subsectorDepth = RenderPolyScene::SkySubsectorDepth;
args.objectToClip = &objectToClip;
args.stenciltestvalue = 255;
args.stencilwritevalue = 255;