Rewrote collision shader to use generated normals with fake lighting instead of generated UV coords

This commit is contained in:
parax0
2016-12-24 03:05:51 -07:00
parent b362a23e4b
commit c0fb54888d
5 changed files with 38 additions and 29 deletions

View File

@@ -39,8 +39,6 @@ void CCollisionNode::Draw(FRenderOptions /*Options*/, int /*ComponentIndex*/, ER
CDrawUtil::UseCollisionShader(TintColor(rkViewInfo));
mpCollision->Draw();
CDrawUtil::UseColorShader(CColor::skTransparentBlack);
mpCollision->DrawWireframe();
}
SRayIntersection CCollisionNode::RayNodeIntersectTest(const CRay& /*rkRay*/, u32 /*AssetID*/, const SViewInfo& /*rkViewInfo*/)