- fix softpoly light visibility bug
This commit is contained in:
parent
3e67a8bafa
commit
7b58eab332
12 changed files with 30 additions and 20 deletions
|
|
@ -58,7 +58,7 @@ void PolySkyDome::Render(const TriMatrix &worldToClip)
|
|||
|
||||
PolyDrawArgs args;
|
||||
args.uniforms.globvis = (float)PolyRenderer::Instance()->Light.WallGlobVis(foggy);
|
||||
args.uniforms.light = 256;
|
||||
args.uniforms.light = 255;
|
||||
args.uniforms.flags = TriUniforms::nearest_filter;
|
||||
args.uniforms.subsectorDepth = RenderPolyScene::SkySubsectorDepth;
|
||||
args.objectToClip = &objectToClip;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue