mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
remove depth changes
changing depth between draw modes is a bit confusing to the viewer could revist PolyAreas must start with 1, 0 = null area in recast.
This commit is contained in:
parent
d1771756c2
commit
de1642c33e
3 changed files with 5 additions and 32 deletions
|
|
@ -62,7 +62,7 @@ unsigned int duDebugDrawTorque::areaToCol(unsigned int area)
|
|||
{
|
||||
switch (area)
|
||||
{
|
||||
// Ground (0) : light blue
|
||||
// Ground (1) : light blue
|
||||
case GroundArea: return duRGBA(0, 192, 255, 255);
|
||||
// Water : blue
|
||||
case WaterArea: return duRGBA(0, 0, 255, 255);
|
||||
|
|
@ -94,6 +94,7 @@ void duDebugDrawTorque::begin(duDebugDrawPrimitives prim, float size)
|
|||
|
||||
mDesc.setCullMode(GFXCullCW);
|
||||
mDesc.setBlend(false);
|
||||
mDesc.setZReadWrite(true);
|
||||
}
|
||||
|
||||
/// Submit a vertex
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue