Create CameraLight class
This commit is contained in:
parent
4bbf1ba11c
commit
ed05a2edd3
27 changed files with 133 additions and 96 deletions
|
|
@ -352,7 +352,8 @@ FTexture *RenderPolyWall::GetTexture()
|
|||
|
||||
int RenderPolyWall::GetLightLevel()
|
||||
{
|
||||
if (swrenderer::fixedlightlev >= 0 || swrenderer::fixedcolormap)
|
||||
swrenderer::CameraLight *cameraLight = swrenderer::CameraLight::Instance();
|
||||
if (cameraLight->fixedlightlev >= 0 || cameraLight->fixedcolormap)
|
||||
{
|
||||
return 255;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue