mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: disable depth testing by default for navmesh
The depth testing is useful when rendering the navmesh without a background (e.g. disabling the rendering of the input geom). But when rendering with the geometry, it should be disabled as otherwise some data will overlap and become invisible (the off-mesh links or poly verts, or boundaries when looking from a tilted perspective).
This commit is contained in:
parent
22e25964c6
commit
3af7039df5
@ -65,7 +65,7 @@ Editor::Editor() :
|
||||
DU_DRAWNAVMESH_OFFMESHCONS|DU_DRAWNAVMESH_CLOSEDLIST|
|
||||
DU_DRAWNAVMESH_VERTS|DU_DRAWNAVMESH_INNERBOUND|
|
||||
DU_DRAWNAVMESH_OUTERBOUND|DU_DRAWNAVMESH_POLYCENTERS|
|
||||
DU_DRAWNAVMESH_DEPTH_MASK|DU_DRAWNAVMESH_ALPHA),
|
||||
DU_DRAWNAVMESH_ALPHA),
|
||||
m_filterLowHangingObstacles(true),
|
||||
m_filterLedgeSpans(true),
|
||||
m_filterWalkableLowHeightSpans(true),
|
||||
|
Loading…
x
Reference in New Issue
Block a user