- replaced the softpoly drawers with templated versions
This commit is contained in:
parent
7aa6a6b0b3
commit
d437b342db
14 changed files with 1134 additions and 16132 deletions
|
|
@ -136,7 +136,7 @@ void RenderPolyDecal::Render(const TriMatrix &worldToClip, const Vec4f &clipPlan
|
|||
PolyCameraLight *cameraLight = PolyCameraLight::Instance();
|
||||
|
||||
PolyDrawArgs args;
|
||||
args.uniforms.flags = 0;
|
||||
args.uniforms.flags = TriUniforms::nearest_filter;
|
||||
args.SetColormap(GetColorTable(front->Colormap));
|
||||
args.SetTexture(tex, decal->Translation, true);
|
||||
args.uniforms.globvis = (float)PolyRenderer::Instance()->Light.WallGlobVis(foggy);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue