Only add the lightmode actually being used into the shader
This commit is contained in:
parent
6381280177
commit
5c9ff283a6
14 changed files with 360 additions and 280 deletions
|
|
@ -481,6 +481,8 @@ void HWDrawInfo::RenderScene(FRenderState &state)
|
|||
const auto &vp = Viewpoint;
|
||||
RenderAll.Clock();
|
||||
|
||||
state.SetLightMode((int)lightmode);
|
||||
|
||||
state.SetDepthMask(true);
|
||||
|
||||
state.EnableFog(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue