- 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
|
|
@ -81,12 +81,12 @@ void RenderPolyParticle::Render(const TriMatrix &worldToClip, const Vec4f &clipP
|
|||
if (fullbrightSprite || cameraLight->FixedLightLevel() >= 0 || cameraLight->FixedColormap())
|
||||
{
|
||||
args.uniforms.light = 256;
|
||||
args.uniforms.flags = TriUniforms::fixed_light;
|
||||
args.uniforms.flags = TriUniforms::fixed_light | TriUniforms::nearest_filter;
|
||||
}
|
||||
else
|
||||
{
|
||||
args.uniforms.light = (uint32_t)((sub->sector->lightlevel + actualextralight) / 255.0f * 256.0f);
|
||||
args.uniforms.flags = 0;
|
||||
args.uniforms.flags = TriUniforms::nearest_filter;
|
||||
}
|
||||
args.uniforms.subsectorDepth = subsectorDepth;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue