Adjust class naming to closer match the GZDoom renderer and split portal rendering part to its own file
This commit is contained in:
parent
dbacb75617
commit
e09c7d239f
10 changed files with 470 additions and 414 deletions
|
|
@ -254,7 +254,7 @@ void RenderPolyPlane::Render(const TriMatrix &worldToClip, const Vec4f &clipPlan
|
|||
if (swrenderer::fixedlightlev >= 0 || swrenderer::fixedcolormap)
|
||||
args.uniforms.light = 256;
|
||||
args.uniforms.flags = 0;
|
||||
args.uniforms.subsectorDepth = isSky ? RenderPolyPortal::SkySubsectorDepth : subsectorDepth;
|
||||
args.uniforms.subsectorDepth = isSky ? RenderPolyScene::SkySubsectorDepth : subsectorDepth;
|
||||
|
||||
TriVertex *vertices = PolyVertexBuffer::GetVertices(sub->numlines);
|
||||
if (!vertices)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue