- fixed: Brightmap application for horizons was undefined..

This depended on the state of the previously rendered portal which could have switched it off.
This commit is contained in:
Christoph Oelckers 2021-09-12 08:37:19 +02:00
parent 78566c0d52
commit b550f57ce3
1 changed files with 1 additions and 0 deletions

View File

@ -978,6 +978,7 @@ void HWHorizonPortal::DrawContents(HWDrawInfo *di, FRenderState &state)
}
state.EnableBrightmap(true);
state.SetMaterial(texture, UF_Texture, 0, CLAMP_NONE, 0, -1);
state.SetObjectColor(origin->specialcolor);