add gl_wireframe and gl_wireframecolor
This commit is contained in:
parent
d8c0e4284f
commit
c72bad053f
14 changed files with 151 additions and 64 deletions
|
|
@ -1215,6 +1215,8 @@ void HWDrawInfo::DrawScene(int drawmode, FRenderState& state)
|
|||
state.SetDepthMask(true);
|
||||
if (!gl_no_skyclear && !gl_levelmesh) drawctx->portalState.RenderFirstSkyPortal(recursion, this, state);
|
||||
|
||||
state.SetWireframe(gl_wireframe, gl_wireframecolor.get()->asFV4());
|
||||
|
||||
RenderScene(state);
|
||||
|
||||
screen->UpdateLinearDepthTexture();
|
||||
|
|
@ -1237,6 +1239,9 @@ void HWDrawInfo::DrawScene(int drawmode, FRenderState& state)
|
|||
{
|
||||
state.SetFogballIndex(-1);
|
||||
}
|
||||
|
||||
state.SetWireframe(0, {});
|
||||
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue