Force colormap/light selection to go through function calls
This commit is contained in:
parent
fd459b1f13
commit
81a20213a7
5 changed files with 117 additions and 95 deletions
|
|
@ -108,7 +108,7 @@ namespace swrenderer
|
|||
|
||||
basecolormap = colormap;
|
||||
GlobVis = LightVisibility::Instance()->FlatPlaneGlobVis() / planeheight;
|
||||
drawerargs.dc_light = 0;
|
||||
|
||||
CameraLight *cameraLight = CameraLight::Instance();
|
||||
if (cameraLight->fixedlightlev >= 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue