- replaced the softpoly drawers with templated versions

This commit is contained in:
Magnus Norddahl 2017-03-21 14:12:19 +01:00
commit d437b342db
14 changed files with 1134 additions and 16132 deletions

View file

@ -59,7 +59,7 @@ void PolySkyDome::Render(const TriMatrix &worldToClip)
PolyDrawArgs args;
args.uniforms.globvis = (float)PolyRenderer::Instance()->Light.WallGlobVis(foggy);
args.uniforms.light = 256;
args.uniforms.flags = 0;
args.uniforms.flags = TriUniforms::nearest_filter;
args.uniforms.subsectorDepth = RenderPolyScene::SkySubsectorDepth;
args.objectToClip = &objectToClip;
args.stenciltestvalue = 255;