Change globvis to be picked up from the r_light values in softpoly
This commit is contained in:
parent
2583c94444
commit
e1506df8a6
12 changed files with 16 additions and 3 deletions
|
|
@ -55,6 +55,7 @@ void PolySkyDome::Render(const TriMatrix &worldToClip)
|
|||
int rc = mRows + 1;
|
||||
|
||||
PolyDrawArgs args;
|
||||
args.uniforms.globvis = (float)swrenderer::r_WallVisibility;
|
||||
args.uniforms.light = 256;
|
||||
args.uniforms.flags = 0;
|
||||
args.uniforms.subsectorDepth = RenderPolyScene::SkySubsectorDepth;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue