pass softlightlevel through render state.
This commit is contained in:
parent
b9a6fe80a4
commit
98cc7eeb99
13 changed files with 45 additions and 94 deletions
|
|
@ -593,7 +593,7 @@ void FGLRenderer::FillSimplePoly(FTexture *texture, FVector2 *points, int npoint
|
|||
FColormap cm;
|
||||
cm = colormap;
|
||||
|
||||
gl_SetColor(lightlevel, 0, &cm, 1.f);
|
||||
gl_SetColor(lightlevel, 0, cm, 1.f);
|
||||
|
||||
gltexture->Bind();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue