mirror of
https://github.com/halpz/re3.git
synced 2025-05-12 07:46:38 +03:00
neo pipelines
This commit is contained in:
parent
e1ca6c6b79
commit
c556cbbbe0
61 changed files with 3723 additions and 18 deletions
|
@ -19,6 +19,7 @@
|
|||
#include "Shadows.h"
|
||||
#include "PointLights.h"
|
||||
#include "Renderer.h"
|
||||
#include "custompipes.h"
|
||||
|
||||
bool gbShowPedRoadGroups;
|
||||
bool gbShowCarRoadGroups;
|
||||
|
@ -96,8 +97,12 @@ CRenderer::RenderOneRoad(CEntity *e)
|
|||
return;
|
||||
if(gbShowCollisionPolys)
|
||||
CCollision::DrawColModel_Coloured(e->GetMatrix(), *CModelInfo::GetModelInfo(e->GetModelIndex())->GetColModel(), e->GetModelIndex());
|
||||
else
|
||||
else{
|
||||
#ifdef EXTENDED_PIPELINES
|
||||
CustomPipes::AttachGlossPipe(e->GetAtomic());
|
||||
#endif
|
||||
e->Render();
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -232,6 +237,11 @@ CRenderer::RenderEverythingBarRoads(void)
|
|||
if(e->IsBuilding() && ((CBuilding*)e)->GetIsATreadable())
|
||||
continue;
|
||||
|
||||
#ifdef EXTENDED_PIPELINES
|
||||
if(CustomPipes::bRenderingEnvMap && (e->IsPed() || e->IsVehicle()))
|
||||
continue;
|
||||
#endif
|
||||
|
||||
if(e->IsVehicle() ||
|
||||
e->IsPed() && CVisibilityPlugins::GetClumpAlpha((RpClump*)e->m_rwObject) != 255){
|
||||
if(e->IsVehicle() && ((CVehicle*)e)->IsBoat()){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue